Ejemplo n.º 1
0
    def test_functionality(self):

        extendedFinance = ExtendedFinancialAnalysis_Example()
        extendedFinance.turbine_number = 100

        extendedFinance.run()

        self.assertEqual(round(extendedFinance.coe, 4), 0.1655)
Ejemplo n.º 2
0
    def test_functionality(self):

        extendedFinance = ExtendedFinancialAnalysis_Example()
        extendedFinance.turbine_number = 100
        
        extendedFinance.run()
                
        self.assertEqual(round(extendedFinance.coe,4), 0.1655)
Ejemplo n.º 3
0
baseCOE.run()

print
print "Financial analysis COE result is: ${0:.4f}/kWh".format(baseCOE.coe)

# --- 10 -----
# --- 11 -----

# Base Financial Analysis model integrates base models of underlying cost sub-assemblies
baseFinance = BaseFinancialAnalysis_Example()
baseFinance.turbine_number = 100

baseFinance.run()

print
print "Financial analysis COE result is: ${0:.4f}/kWh".format(baseFinance.coe)

# --- 11 -----
# --- 12 -----

# Extended financial model integrates base models for turbine, aep and finance with the extended bos and opex models
extendedFinance = ExtendedFinancialAnalysis_Example()
extendedFinance.turbine_number = 100

extendedFinance.run()

print
print "Financial analysis COE result is: ${0:.4f}/kWh".format(
    extendedFinance.coe)

# --- 12 -----
baseCOE.net_aep = 1752000000.0 #Float(iotype='in', desc='A Wind Plant Annual Energy Production Model', units='kW*h')
baseCOE.run()

print
print "Financial analysis COE result is: ${0:.4f}/kWh".format(baseCOE.coe)

# --- 10 -----
# --- 11 -----

# Base Financial Analysis model integrates base models of underlying cost sub-assemblies
baseFinance = BaseFinancialAnalysis_Example()
baseFinance.turbine_number = 100

baseFinance.run()

print    
print "Financial analysis COE result is: ${0:.4f}/kWh".format(baseFinance.coe)

# --- 11 -----
# --- 12 -----

# Extended financial model integrates base models for turbine, aep and finance with the extended bos and opex models
extendedFinance = ExtendedFinancialAnalysis_Example()
extendedFinance.turbine_number = 100

extendedFinance.run()

print    
print "Financial analysis COE result is: ${0:.4f}/kWh".format(extendedFinance.coe)

# --- 12 -----