CbConstructionFinancing

Wrapper for SAM Simulation Core model: cmod_cb_construction_financing.cpp

Creating an Instance

There are three methods to create a new instance of a PySAM module. Using default populates the newclass’ attributes with default values specific to a config. Each technology-financialconfiguration corresponds to a SAM GUI configuration. Using new creates an instance with empty attributes. The wrap function allows compatibility with PySSC, for details, refer to PySSC.

CbConstructionFinancing model description

CbConstructionFinancing

PySAM.CbConstructionFinancing.default(config) → CbConstructionFinancing

Use financial config-specific default attributes

PySAM.CbConstructionFinancing.from_existing(data, optional config) → CbConstructionFinancing

Share underlying data with an existing PySAM class. If config provided, default attributes are loaded otherwise.

PySAM.CbConstructionFinancing.new() → CbConstructionFinancing
PySAM.CbConstructionFinancing.wrap(ssc_data_t) → CbConstructionFinancing

Use existing PySSC data

Warning

Do not call PySSC.data_free on the ssc_data_t provided to wrap

Functions

class PySAM.CbConstructionFinancing.CbConstructionFinancing

This class contains all the variable information for running a simulation. Variables are grouped together in the subclasses as properties. If property assignments are the wrong type, an error is thrown.

assign(dict) → None

Assign attributes from nested dictionary, except for Outputs

nested_dict = { 'system costs': { var: val, ...}, ...}

execute(int verbosity) → None

Execute simulation with verbosity level 0 (default) or 1

export() → dict

Export attributes into nested dictionary

value(name, optional value) → Union[None, float, dict, sequence, str]

Get or set by name a value in any of the variable groups.

SystemCosts Group

class PySAM.CbConstructionFinancing.CbConstructionFinancing.SystemCosts
assign() → None

Assign attributes from dictionary

SystemCosts_vals = { var: val, ...}

export() → dict

Export attributes into dictionary

total_installed_cost

Total installed cost [$]

Required: True

Type:float

FinancialParameters Group

class PySAM.CbConstructionFinancing.CbConstructionFinancing.FinancialParameters
assign() → None

Assign attributes from dictionary

FinancialParameters_vals = { var: val, ...}

export() → dict

Export attributes into dictionary

const_per_interest_rate1

Interest rate, loan 1 [%]

Required: True

Type:float
const_per_interest_rate2

Interest rate, loan 2 [%]

Required: True

Type:float
const_per_interest_rate3

Interest rate, loan 3 [%]

Required: True

Type:float
const_per_interest_rate4

Interest rate, loan 4 [%]

Required: True

Type:float
const_per_interest_rate5

Interest rate, loan 5 [%]

Required: True

Type:float
const_per_months1

Months prior to operation, loan 1

Required: True

Type:float
const_per_months2

Months prior to operation, loan 2

Required: True

Type:float
const_per_months3

Months prior to operation, loan 3

Required: True

Type:float
const_per_months4

Months prior to operation, loan 4

Required: True

Type:float
const_per_months5

Months prior to operation, loan 5

Required: True

Type:float
const_per_percent1

Percent of tot. installed cost, loan 1 [%]

Required: True

Type:float
const_per_percent2

Percent of tot. installed cost, loan 2 [%]

Required: True

Type:float
const_per_percent3

Percent of tot. installed cost, loan 3 [%]

Required: True

Type:float
const_per_percent4

Percent of tot. installed cost, loan 4 [%]

Required: True

Type:float
const_per_percent5

Percent of tot. installed cost, loan 5 [%]

Required: True

Type:float
const_per_upfront_rate1

Upfront fee on principal, loan 1 [%]

Required: True

Type:float
const_per_upfront_rate2

Upfront fee on principal, loan 2 [%]

Required: True

Type:float
const_per_upfront_rate3

Upfront fee on principal, loan 3 [%]

Required: True

Type:float
const_per_upfront_rate4

Upfront fee on principal, loan 4 [%]

Required: True

Type:float
const_per_upfront_rate5

Upfront fee on principal, loan 5 [%]

Required: True

Type:float

Outputs Group

class PySAM.CbConstructionFinancing.CbConstructionFinancing.Outputs
assign() → None

Assign attributes from dictionary

Outputs_vals = { var: val, ...}

export() → dict

Export attributes into dictionary

const_per_interest1

Interest cost, loan 1 [$]

Type:float
const_per_interest2

Interest cost, loan 2 [$]

Type:float
const_per_interest3

Interest cost, loan 3 [$]

Type:float
const_per_interest4

Interest cost, loan 4 [$]

Type:float
const_per_interest5

Interest cost, loan 5 [$]

Type:float
const_per_interest_total

Total interest costs, all loans [$]

Type:float
const_per_percent_total

Total percent of installed costs, all loans [%]

Type:float
const_per_principal1

Principal, loan 1 [$]

Type:float
const_per_principal2

Principal, loan 2 [$]

Type:float
const_per_principal3

Principal, loan 3 [$]

Type:float
const_per_principal4

Principal, loan 4 [$]

Type:float
const_per_principal5

Principal, loan 5 [$]

Type:float
const_per_principal_total

Total principal, all loans [$]

Type:float
const_per_total1

Total financing cost, loan 1 [$]

Type:float
const_per_total2

Total financing cost, loan 2 [$]

Type:float
const_per_total3

Total financing cost, loan 3 [$]

Type:float
const_per_total4

Total financing cost, loan 4 [$]

Type:float
const_per_total5

Total financing cost, loan 5 [$]

Type:float
construction_financing_cost

Total construction financing cost [$]

Type:float