def test_functionality(self):

        baseFinance = BaseFinancialAnalysis_Example()
        baseFinance.turbine_number = 100

        baseFinance.run()

        self.assertEqual(round(baseFinance.coe, 4), 0.1655)
Example #2
0
 def test_functionality(self):
     
     baseFinance = BaseFinancialAnalysis_Example()
     baseFinance.turbine_number = 100
     
     baseFinance.run()
     
     self.assertEqual(round(baseFinance.coe,4), 0.1655)
Example #3
0
baseCOE.turbine_cost = 9000000.0  #Float(iotype='in', desc = 'A Wind Turbine Capital _cost')
baseCOE.turbine_number = 100  #Int(iotype = 'in', desc = 'number of turbines at plant')
baseCOE.bos_costs = 1800000000.0  #Float(iotype='in', desc='A Wind Plant Balance of Station _cost Model')
baseCOE.avg_annual_opex = 50000000.0  #Float(iotype='in', desc='A Wind Plant Operations Expenditures Model')
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()
baseCOE.turbine_cost = 9000000.0 #Float(iotype='in', desc = 'A Wind Turbine Capital _cost')
baseCOE.turbine_number = 100 #Int(iotype = 'in', desc = 'number of turbines at plant')
baseCOE.bos_costs = 1800000000.0 #Float(iotype='in', desc='A Wind Plant Balance of Station _cost Model')
baseCOE.avg_annual_opex = 50000000.0 #Float(iotype='in', desc='A Wind Plant Operations Expenditures Model')
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()