-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
98 additions
and
98 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,78 +1,78 @@ | ||
PyPSA case input file,,,,,,,,,,,,,,,,,,, | ||
,,,,,,,,,,,,,,,,,,, | ||
"Everything outside of the <CASE_DATA> or <COMPONENT_DATA> flag is for notes, etc.",,,,,,,,,,,,,,,,,,, | ||
,,,,,,,,,,,,,,,,,,, | ||
Note that demand has no decisions.,,,,,,,,,,,,,,,,,,, | ||
"Note that unmet demand is represented a source with a variable cost only, so unmet demand has an output decision.",,,,,,,,,,,,,,,,,,, | ||
Information about PyPSA components and their attributes can be found here: https://pypsa.readthedocs.io/en/latest/components.html,,,,,,,,,,,,,,,,,,, | ||
,,,,,,,,,,,,,,,,,,, | ||
REQUIRED KEYWORDS,,,,,,,,,,,,,,,,,,, | ||
component,PyPSA component type,,,,,,,,,,,,,,,,,, | ||
name,Unique name of the component,,,,,,,,,,,,,,,,,, | ||
bus,"Name of bus from which this technology would get or give its energy (or in the case of link, the giving bus)",,,,,,,,,,,,,,,,,, | ||
,,,,,,,,,,,,,,,,,,, | ||
OPTIONAL KEYWORDS,,,,,,,,,,,,,,,,,,, | ||
time_series_file,Name of time series file that will get loaded,,,,,,,,,,,,,,,,,, | ||
capital_cost,"Fixed cost, if not defined default is 0",,,,,,,,,,,,,,,,,, | ||
marginal_cost,"Marginal cost, if not defined default is 0",,,,,,,,,,,,,,,,,, | ||
max_hours,Hours at max capacity for StorageUnit ,,,,,,,,,,,,,,,,,, | ||
cyclic_state_of_charge,Assume cyclic state of charge for StorageUnit (Boolean),,,,,,,,,,,,,,,,,, | ||
efficiency,Efficiency of component,,,,,,,,,,,,,,,,,, | ||
standing_loss,Losses per hour to state of charge,,,,,,,,,,,,,,,,,, | ||
,,,,,,,,,,,,,,,,,,, | ||
CASE_DATA,,,,,,,,,,,,,,,,,,, | ||
,,,,,,,,,,,,,,,,,,, | ||
input_path,/carnegie/data/Shared/Labs/Caldeira Lab/Everyone/energy_demand_capacity_data/test_case_solar_wind_demand/,,,,,,,,,,,,,,,,,, | ||
costs_path,https://raw.githubusercontent.com/PyPSA/technology-data/master/outputs/costs_2020.csv,,,,,,,,,,,,,,,,,, | ||
output_path,output_data,,,,,,,,,,,,,,,,,, | ||
case_name,test_case,,,,,,,,,,,,,,,,,, | ||
filename_prefix,test_prefix,,,,,,,,,,,,,,,,,, | ||
datetime_start,1/1/2016 0:00,,Note: Dates must be formatted as text (not excel date format),,,,,,,,,,,,,,,, | ||
datetime_end,1/1/2017 0:00,,,,,,,,,,,,,,,,,, | ||
delta_t,1,,,,,,,,,,,,,,,,,, | ||
no_time_steps,8784,Note: this assumes time unit for dt is 'hour',,,,,,,,,,,,,,,,, | ||
total_hours,8784,,,,,,,,,,,,,,,,,, | ||
,,,,,,,,,,,,,,,,,,, | ||
solver,gurobi,,,,,,,,,,,,,,,,,, | ||
logging_level,warning,,"Note: Can be error, warning, info, or debug and specifies level of detail in terminal output",,,,,,,,,,,,,,,, | ||
numerics_scaling,1.00E+10,,Note: Factor to avoid rounding in Gurobi solver for small values,,,,,,,,,,,,,,,, | ||
,,,,,,,,,,,,,,,,,,, | ||
time_unit,h,,,,,,,,,,,,,,,,,, | ||
power unit,kW,,,,,,,,,,,,,,,,,, | ||
currency,$,,,,,,,,,,,,,,,,,, | ||
,,,,,Note: p_min_pu allow bidirectionality of link,,,,,,,,,,,,,, | ||
END_CASE_DATA,,,,,,,,Note: Capital costs are the product of hourly fixed costs and time_range,,,,,,,,,,, | ||
,,,"Note: For Link, bus is interpreted as bus0",,,,Note: p_nom is a factor multiplied to the given capacity,,,,,,,"Note: For StorageUnit, efficiency is interpreted as efficiency_store",,,,, | ||
MEM vocabulary,,,,,,,,,,,,,,,,,,, | ||
tech_type,tech_name,,node,,,,normalization,capacity,fixed_cost,,var_cost,,charging_time,,efficiency,,decay_rate,, | ||
COMPONENT_DATA,,,,,,,,,,,,,,,,,,, | ||
component,name,carrier,bus,bus1,p_min_pu,time_series_file,normalization,p_nom,capital_cost,,marginal_cost,,max_hours,cyclic_state_of_charge,efficiency,efficiency_dispatch,standing_loss,, | ||
Generator,solar,solar,bus,,,solar.csv,,,171.6544341,$/time range/kW,,$/kWh,,,,,,, | ||
Load,load,load,bus,,,demand.csv,,,,,,,,,,,,, | ||
Generator,natgas,natgas,bus,,,,,,104.0882472,$/time range/kW,0.039088111,$/kWh,,,,,,, | ||
StorageUnit,battery,battery,bus,,,,,,223.872126,$/time range/kW,,$/kWh,6.008,TRUE,0.9,,0.00000114,1/h,Note: PyPSA costs storage_unit by power cost; cost of energy capacity is effectively capital_cost/max_hours | ||
Generator,nuclear,nuclear,bus,,,,,,548.7837489,$/time range/kW,0.025047273,$/kWh,,,,,,, | ||
Generator,wind,wind,bus,,,wind.csv,,,181.4975656,$/time range/kW,,$/kWh,,,,,,, | ||
Link,electrolysis,electrolysis,bus,h2,,,,,43.92,$/time range/kW,,$/kWh,,,0.7,,,, | ||
Store,h2_storage,h2_storage,h2,,,,,,0.140544,$/time range/kWh,,$/kWh,,,,,,, | ||
Link,fuel_cell,fuel_cell,h2,bus,,,,,17.568,$/time range/kW,,$/kWh,,,0.5,,,, | ||
,,,,,,,,,,,,,,,,,,, | ||
END_COMPONENT_DATA,,,,,,,,,,,,,,,,,,, | ||
,,,,,,,,,,,,,,,,,,, | ||
"Note that any information that is in a column without an attribute header is consider a comment, and not used.",,,,,,,,,,,,,,,,,,, | ||
"Note that for MEM, storage is in energy units whereas for PyPSA it is in power units.",,,,,,,,,,,,,,,,,,, | ||
"Note that H46-H52 contain formulas, and our PyPSA front end will read this in as a value.",,,,,,,,,,,,,,,,,,, | ||
"Note: If there is a # in front of component (e.g. #Generator), this row will be ignored",,,,,,,,,,,,,,,,,,, | ||
,,,,,,,,,,,,,,,,,,, | ||
Cost calculations,,,,,,,,,,,,,,,,,,, | ||
,Discount rate,0.07,,,,,,,,,,,,,,,,, | ||
,name,Overnight cost [$/kW],Fixed O&M cost [$/kWyear],Capital recovery factor [%/year],Lifetime [years],Annual fixed costs [$/year],Variable O&M [$/kWh],Fuel cost [$/kWh],Efficiency,,Hourly fixed costs,,,,,,,, | ||
,solar,1851,22.02,0.080586404,30,171.1854329,,,,,0.019541716,$/h/kW,,,,,,, | ||
,natgas,982,11.11,0.094392926,20,103.8038531,0.00354,0.0191,0.5373,,0.011849755,$/h/kW,,,,,,, | ||
,battery,261,,0.142377503,10,37.16052821,,,,,0.004242069,$/h/kW,,,,,,, | ||
,nuclear,5946,101.28,0.075009139,40,547.2843397,0.00232,0.0075,0.33,,0.062475381,$/h/kW,,,,,,, | ||
,wind,1657,47.47,0.080586404,30,181.0016706,,,,,0.020662291,$/h/kW,,,,,,, | ||
,electrolysis,,,,,,,,,,0.005,$/h/kW,,,,,,, | ||
,h2_storage,,,,,,,,,,0.000016,$/h/kW,,,,,,, | ||
,fuel_cell,,,,,,,,,,0.002,$/h/kW,,,,,,, | ||
,"Note: This is a test case, the costs aren't meant to be very realistic but provide reproducibility in tests",,,,,,,,,,,,,,,,,, | ||
PyPSA case input file,,,,,,,,,,,,,,,,, | ||
,,,,,,,,,,,,,,,,, | ||
"Everything outside of the <CASE_DATA> or <COMPONENT_DATA> flag is for notes, etc.",,,,,,,,,,,,,,,,, | ||
,,,,,,,,,,,,,,,,, | ||
Note that demand has no decisions.,,,,,,,,,,,,,,,,, | ||
"Note that unmet demand is represented a source with a variable cost only, so unmet demand has an output decision.",,,,,,,,,,,,,,,,, | ||
Information about PyPSA components and their attributes can be found here: https://pypsa.readthedocs.io/en/latest/components.html,,,,,,,,,,,,,,,,, | ||
,,,,,,,,,,,,,,,,, | ||
REQUIRED KEYWORDS,,,,,,,,,,,,,,,,, | ||
component,PyPSA component type,,,,,,,,,,,,,,,, | ||
name,Unique name of the component,,,,,,,,,,,,,,,, | ||
bus,"Name of bus from which this technology would get or give its energy (or in the case of link, the giving bus)",,,,,,,,,,,,,,,, | ||
,,,,,,,,,,,,,,,,, | ||
OPTIONAL KEYWORDS,,,,,,,,,,,,,,,,, | ||
time_series_file,Name of time series file that will get loaded,,,,,,,,,,,,,,,, | ||
capital_cost,"Fixed cost, if not defined default is 0",,,,,,,,,,,,,,,, | ||
marginal_cost,"Marginal cost, if not defined default is 0",,,,,,,,,,,,,,,, | ||
max_hours,Hours at max capacity for StorageUnit ,,,,,,,,,,,,,,,, | ||
cyclic_state_of_charge,Assume cyclic state of charge for StorageUnit (Boolean),,,,,,,,,,,,,,,, | ||
efficiency,Efficiency of component,,,,,,,,,,,,,,,, | ||
standing_loss,Losses per hour to state of charge,,,,,,,,,,,,,,,, | ||
,,,,,,,,,,,,,,,,, | ||
CASE_DATA,,,,,,,,,,,,,,,,, | ||
,,,,,,,,,,,,,,,,, | ||
input_path,test/,,,,,,,,,,,,,,,, | ||
costs_path,https://raw.githubusercontent.com/PyPSA/technology-data/master/outputs/costs_2020.csv,,,,,,,,,,,,,,,, | ||
output_path,output_data,,,,,,,,,,,,,,,, | ||
case_name,test_case,,,,,,,,,,,,,,,, | ||
filename_prefix,test_prefix,,,,,,,,,,,,,,,, | ||
datetime_start,2016-01-01 00:00:00,,Note: Dates must be formatted as text (not excel date format),,,,,,,,,,,,,, | ||
datetime_end,2017-01-01 0:00:00,,,,,,,,,,,,,,,, | ||
delta_t,1,,,,,,,,,,,,,,,, | ||
no_time_steps,8784,Note: this assumes time unit for dt is 'hour',,,,,,,,,,,,,,, | ||
total_hours,8784,,,,,,,,,,,,,,,, | ||
,,,,,,,,,,,,,,,,, | ||
solver,gurobi,,,,,,,,,,,,,,,, | ||
logging_level,warning,,"Note: Can be error, warning, info, or debug and specifies level of detail in terminal output",,,,,,,,,,,,,, | ||
numerics_scaling,1.00E+00,,Note: Factor to avoid rounding in Gurobi solver for small values,,,,,,,,,,,,,, | ||
,,,,,,,,,,,,,,,,, | ||
time_unit,h,,,,,,,,,,,,,,,, | ||
power_unit,kW,,,,,,,,,,,,,,,, | ||
currency,$,,,,,,,,,,,,,,,, | ||
,,,,,Note: p_min_pu allow bidirectionality of link,,,,,,,,,,,, | ||
END_CASE_DATA,,,,,,,,Note: Capital costs are the product of hourly fixed costs and time_range,,,,,,,,, | ||
,,,"Note: For Link, bus is interpreted as bus0",,,,Note: p_nom is a factor multiplied to the given capacity,,,,,,,"Note: For StorageUnit, efficiency is interpreted as efficiency_store",,, | ||
,,,,,,,,,,,,,,,,, | ||
,,,,,,,,,,,,,,,,, | ||
COMPONENT_DATA,,,,,,,,,,,,,,,,, | ||
component,name,carrier,bus,bus1,p_set,p_max_pu,capital_cost,,marginal_cost,,max_hours,cyclic_state_of_charge,efficiency,efficiency_dispatch,standing_loss,, | ||
Generator,solar,solar,bus,,,solar.csv,171.6544341,$/time range/kW,,$/kWh,,,,,,, | ||
Load,load,load,bus,,demand.csv,,,,,,,,,,,, | ||
Generator,natgas,natgas,bus,,,,104.0882472,$/time range/kW,0.039088111,$/kWh,,,,,,, | ||
StorageUnit,battery,battery,bus,,,,223.872126,$/time range/kW,0.01,$/kWh,6.008,TRUE,0.9,,0.00000114,1/h,Note: PyPSA costs storage_unit by power cost; cost of energy capacity is effectively capital_cost/max_hours | ||
Generator,nuclear,nuclear,bus,,,,548.7837489,$/time range/kW,0.025047273,$/kWh,,,,,,, | ||
Generator,wind,wind,bus,,,wind.csv,181.4975656,$/time range/kW,,$/kWh,,,,,,, | ||
Link,electrolysis,electrolysis,bus,h2,,,43.92,$/time range/kW,0.015,$/kWh,,,0.7,,,, | ||
Store,h2_storage,h2_storage,h2,,,,0.140544,$/time range/kWh,,$/kWh,,TRUE,,,4.00E-06,, | ||
Link,fuel_cell,fuel_cell,h2,bus,,,17.568,$/time range/kW,,$/kWh,,,0.5,,,, | ||
,,,,,,,,,,,,,,,,, | ||
END_COMPONENT_DATA,,,,,,,,,,,,,,,,, | ||
,,,,,,,,,,,,,,,,, | ||
"Note that any information that is in a column without an attribute header is consider a comment, and not used.",,,,,,,,,,,,,,,,, | ||
"Note that for MEM, storage is in energy units whereas for PyPSA it is in power units.",,,,,,,,,,,,,,,,, | ||
"Note that H46-H52 contain formulas, and our PyPSA front end will read this in as a value.",,,,,,,,,,,,,,,,, | ||
"Note: If there is a # in front of component (e.g. #Generator), this row will be ignored",,,,,,,,,,,,,,,,, | ||
,,,,,,,,,,,,,,,,, | ||
Cost calculations,,,,,,,,,,,,,,,,, | ||
,Discount rate,0.07,,,,,,,,,,,,,,, | ||
,name,Overnight cost [$/kW],Fixed O&M cost [$/kWyear],Capital recovery factor [%/year],Lifetime [years],Annual fixed costs [$/year],Variable O&M [$/kWh],Fuel cost [$/kWh],Efficiency,,Hourly fixed costs,,,,,, | ||
,solar,1851,22.02,0.080586404,30,171.1854329,,,,,0.019541716,$/h/kW,,,,, | ||
,natgas,982,11.11,0.094392926,20,103.8038531,0.00354,0.0191,0.5373,,0.011849755,$/h/kW,,,,, | ||
,battery,261,,0.142377503,10,37.16052821,,,,,0.004242069,$/h/kW,,,,, | ||
,nuclear,5946,101.28,0.075009139,40,547.2843397,0.00232,0.0075,0.33,,0.062475381,$/h/kW,,,,, | ||
,wind,1657,47.47,0.080586404,30,181.0016706,,,,,0.020662291,$/h/kW,,,,, | ||
,electrolysis,,,,,,,,,,0.005,$/h/kW,,,,, | ||
,h2_storage,,,,,,,,,,0.000016,$/h/kW,,,,, | ||
,fuel_cell,,,,,,,,,,0.002,$/h/kW,,,,, | ||
,"Note: This is a test case, the costs aren't meant to be very realistic but provide reproducibility in tests",,,,,,,,,,,,,,,, |
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters