Skip to content

Commit

Permalink
Merge branch 'develop' into noct-taualpha
Browse files Browse the repository at this point in the history
  • Loading branch information
mjprilliman committed Oct 31, 2024
2 parents 620774d + 96e85c3 commit 6138312
Show file tree
Hide file tree
Showing 391 changed files with 2,273,655 additions and 9,839 deletions.
2 changes: 1 addition & 1 deletion api/api_autogen/builder_PySAM.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -53,11 +53,11 @@ std::string module_doc(const std::string& tech_symbol){
{"Biomass", "Biomass combustion for electricity generation"},
{"CashloanModel", "Financial model for residential and commercial behind-the-meter projects"},
{"Communitysolar", "Community solar owner financial model"},
{"CustomGenerationProfile", "Basic power system model using either capacity, capacity factor, and heat rate, or an hourly power generation profile as input (formerly known as Generic System)"},
{"Equpartflip", "PPA all equity partnership flip (no debt) financial model"},
{"EtesElectricResistance", "Electric thermal energy storage"},
{"EtesPtes", "Pumped thermal energy storage"},
{"Fuelcell", "Fuel cell model"},
{"GenericSystem", "Basic power system model using either capacity, capacity factor, and heat rate, or an hourly power generation profile as input"},
{"Geothermal", "Geothermal power model for hydrothermal and EGS systems with flash or binary conversion"},
{"Grid", "Electric grid model"},
{"Hcpv", "Concentrating photovoltaic system with a high concentration photovoltaic module model and separate inverter model"},
Expand Down
6 changes: 3 additions & 3 deletions api/api_autogen/data_structures.h
Original file line number Diff line number Diff line change
Expand Up @@ -176,6 +176,9 @@ static std::unordered_map<std::string, std::string> config_to_cmod_name = {
{"Commercial", "Commercial"},
{"CommunitySolar", "Communitysolar"},
{"CspSubcomponent", "CspSubcomponent"},
{"CustomGenerationProfile", "CustomGenerationProfile"},
{"CustomGenerationBattery", "CustomGenerationBattery"},
{"CustomGenerationPVWattsWindFuelCellBatteryHybrid", "CustomGenerationProfile,Pvwattsv8,Windpower,Fuelcell,Battery"},
{"DishStirling", "Tcsdish"},
{"DSGLIPH", "LinearFresnelDsgIph"},
{"DSLF", "TcslinearFresnel"},
Expand All @@ -184,9 +187,6 @@ static std::unordered_map<std::string, std::string> config_to_cmod_name = {
{"FlatPlatePV", "Pvsamv1"},
{"FuelCell", "Fuelcell"},
{"GenericCSPSystem", "TcsgenericSolar"},
{"GenericSystem", "GenericSystem"},
{"GenericBattery", "GenericBattery"},
{"GenericPVWattsWindFuelCellBatteryHybrid", "GenericSystem,Pvwattsv8,Windpower,Fuelcell,Battery"},
{"GeothermalPower", "Geothermal"},
{"HighXConcentratingPV", "Hcpv"},
{"HostDeveloper", "HostDeveloper"},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -335,7 +335,7 @@
"dispatch_manual_system_charge_first": 0
},
"SystemCosts": {
"om_batt_replacement_cost": [323.000000],
"om_batt_replacement_cost": [0.000000],
"om_batt_variable_cost": [0.000000],
"om_production_escal": 0,
"om_replacement_cost_escal": 0
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
{
"defaults": {
"Plant": {
"conv_eff": 0,
"derate": 0,
"heat_rate": 0,
"spec_mode": 0,
"system_capacity": 969.565,
"user_capacity_factor": 0
},
"Lifetime": {
"analysis_period": 25
},
"AdjustmentFactors": {
},
"HybridCosts": {
"om_capacity": [0],
"om_fixed": [0],
"om_production": [0],
"total_installed_cost": 2.91449e+07
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
{
"defaults": {
"Plant": {
"conv_eff": 0,
"derate": 0,
"heat_rate": 0,
"spec_mode": 0,
"system_capacity": 377123,
"user_capacity_factor": 0
},
"Lifetime": {
"analysis_period": 25
},
"AdjustmentFactors": {
},
"HybridCosts": {
"om_capacity": [0],
"om_fixed": [0],
"om_production": [0],
"total_installed_cost": 1.63843e+09
}
}
}

This file was deleted.

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
"T_approach": 5,
"T_htf_cold_ref": 90,
"T_htf_hot_ref": 200,
"allow_reservoir_replacements": 0,
"ambient_pressure": 14.7,
"analysis_type": 0,
"conversion_subtype": 0,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
"T_approach": 5,
"T_htf_cold_ref": 90,
"T_htf_hot_ref": 200,
"allow_reservoir_replacements": 0,
"ambient_pressure": 14.7,
"analysis_type": 0,
"conversion_subtype": 0,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
"T_approach": 5,
"T_htf_cold_ref": 90,
"T_htf_hot_ref": 200,
"allow_reservoir_replacements": 0,
"ambient_pressure": 14.7,
"analysis_type": 0,
"conversion_subtype": 0,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
"T_approach": 5,
"T_htf_cold_ref": 90,
"T_htf_hot_ref": 200,
"allow_reservoir_replacements": 0,
"ambient_pressure": 14.7,
"analysis_type": 0,
"conversion_subtype": 0,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
"T_approach": 5,
"T_htf_cold_ref": 90,
"T_htf_hot_ref": 200,
"allow_reservoir_replacements": 0,
"ambient_pressure": 14.7,
"analysis_type": 0,
"conversion_subtype": 0,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
"T_approach": 5,
"T_htf_cold_ref": 90,
"T_htf_hot_ref": 200,
"allow_reservoir_replacements": 0,
"ambient_pressure": 14.7,
"analysis_type": 0,
"conversion_subtype": 0,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
"T_approach": 5,
"T_htf_cold_ref": 90,
"T_htf_hot_ref": 200,
"allow_reservoir_replacements": 0,
"ambient_pressure": 14.7,
"analysis_type": 0,
"conversion_subtype": 0,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -77,13 +77,13 @@
"term_tenor": 18
},
"SystemCosts": {
"add_om_num_types": 1,
"om_batt_capacity_cost": [5.300000],
"add_om_num_types": 0,
"om_batt_capacity_cost": [0.000000],
"om_batt_fixed_cost": [0.000000],
"om_batt_nameplate": 240000,
"om_batt_replacement_cost": [323.000000],
"om_batt_nameplate": 0,
"om_batt_replacement_cost": [0.000000],
"om_batt_variable_cost": [0.000000],
"om_capacity": [25.000000],
"om_capacity": [0.000000],
"om_capacity_escal": 0,
"om_fixed": [0.000000],
"om_fixed_escal": 0,
Expand Down
8 changes: 4 additions & 4 deletions api/include/SAM_Cashloan.h
Original file line number Diff line number Diff line change
Expand Up @@ -182,15 +182,15 @@ extern "C"

/**
* Set annual_fuel_usage: Fuel usage (yr 1) [kWht]
* options: generic_system,fuelcell,tcslinearfresnel,tcstroughempirical,tcsgenericsolar,fresnelphysical
* options: custom_generation,fuelcell,tcslinearfresnel,tcstroughempirical,tcsgenericsolar,fresnelphysical
* constraints: MIN=0
* required if: ?=0
*/
SAM_EXPORT void SAM_Cashloan_SystemCosts_annual_fuel_usage_nset(SAM_table ptr, double number, SAM_error *err);

/**
* Set annual_fuel_usage_lifetime: Fuel usage (lifetime) [kWht]
* options: generic_system,fuelcell,tcslinearfresnel,tcstroughempirical,tcsgenericsolar,fresnelphysical
* options: custom_generation,fuelcell,tcslinearfresnel,tcstroughempirical,tcsgenericsolar,fresnelphysical
* constraints: None
* required if: None
*/
Expand Down Expand Up @@ -270,15 +270,15 @@ extern "C"

/**
* Set om_fuel_cost: Fuel cost [$/MMBtu]
* options: generic_system,fuelcell,tcslinearfresnel,tcstroughempirical,tcsgenericsolar,fresnelphysical
* options: custom_generation,fuelcell,tcslinearfresnel,tcstroughempirical,tcsgenericsolar,fresnelphysical
* constraints: None
* required if: ?=0.0
*/
SAM_EXPORT void SAM_Cashloan_SystemCosts_om_fuel_cost_aset(SAM_table ptr, double* arr, int length, SAM_error *err);

/**
* Set om_fuel_cost_escal: Fuel cost escalation [%/year]
* options: generic_system,fuelcell,tcslinearfresnel,tcstroughempirical,tcsgenericsolar,fresnelphysical
* options: custom_generation,fuelcell,tcslinearfresnel,tcstroughempirical,tcsgenericsolar,fresnelphysical
* constraints: None
* required if: ?=0.0
*/
Expand Down
8 changes: 4 additions & 4 deletions api/include/SAM_Communitysolar.h
Original file line number Diff line number Diff line change
Expand Up @@ -342,15 +342,15 @@ extern "C"

/**
* Set annual_fuel_usage: Fuel usage (yr 1) [kWht]
* options: generic_system,fuelcell,tcslinearfresnel,tcstroughempirical,tcsgenericsolar,fresnelphysical
* options: custom_generation,fuelcell,tcslinearfresnel,tcstroughempirical,tcsgenericsolar,fresnelphysical
* constraints: MIN=0
* required if: ?=0
*/
SAM_EXPORT void SAM_Communitysolar_SystemCosts_annual_fuel_usage_nset(SAM_table ptr, double number, SAM_error *err);

/**
* Set annual_fuel_usage_lifetime: Fuel usage (lifetime) [kWht]
* options: generic_system,fuelcell,tcslinearfresnel,tcstroughempirical,tcsgenericsolar,fresnelphysical
* options: custom_generation,fuelcell,tcslinearfresnel,tcstroughempirical,tcsgenericsolar,fresnelphysical
* constraints: None
* required if: None
*/
Expand Down Expand Up @@ -430,15 +430,15 @@ extern "C"

/**
* Set om_fuel_cost: Fuel cost [$/MMBtu]
* options: generic_system,fuelcell,tcslinearfresnel,tcstroughempirical,tcsgenericsolar,fresnelphysical
* options: custom_generation,fuelcell,tcslinearfresnel,tcstroughempirical,tcsgenericsolar,fresnelphysical
* constraints: None
* required if: ?=0.0
*/
SAM_EXPORT void SAM_Communitysolar_SystemCosts_om_fuel_cost_aset(SAM_table ptr, double* arr, int length, SAM_error *err);

/**
* Set om_fuel_cost_escal: Fuel cost escalation [%/year]
* options: generic_system,fuelcell,tcslinearfresnel,tcstroughempirical,tcsgenericsolar,fresnelphysical
* options: custom_generation,fuelcell,tcslinearfresnel,tcstroughempirical,tcsgenericsolar,fresnelphysical
* constraints: None
* required if: ?=0.0
*/
Expand Down
Loading

0 comments on commit 6138312

Please sign in to comment.