docs: public static DiscountCurveInterface createDiscountCurveFromMonteCarloLiborModel(String forwardCurveName,  LIBORModelMonteCarloSimulationModel model, double startTime) throws CalculationException{
  		// Check if the LMM uses a discount curve which is created from a forward curve
  		if(model.getModel().getDiscountCurve()==null || model.getModel().getDiscountCurve().getName().toLowerCase().contains("DiscountCurveFromForwardCurve".toLowerCase())){
  			return new DiscountCurveFromForwardCurve(ForwardCurveInterpolation.createForwardCurveFromMonteCarloLiborModel(forwardCurveName, model, startTime));
  		}
  		else {
  			// i.e. forward curve of Libor Model not OIS. In this case return the OIS curve.
  			// Only at startTime 0!
  			return (DiscountCurveInterface) model.getModel().getDiscountCurve();
  		}
  
  	}