Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove first row of input files #993

Merged
merged 5 commits into from
Jan 21, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ SparseArrays = "1"
Statistics = "1"
TOML = "1"
TimerOutputs = "0.5"
TulipaIO = "0.1, 0.2"
TulipaIO = "0.3"
julia = "1.10"

[extras]
Expand Down
1 change: 0 additions & 1 deletion benchmark/EU/asset-both.csv
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
1,2,3,4,5,6,7
asset,milestone_year,commission_year,active,decommissionable,initial_units,initial_storage_units
NL_E_Demand,2050,2050,true,false,0,0
BE_E_Demand,2050,2050,true,false,0,0
Expand Down
1 change: 0 additions & 1 deletion benchmark/EU/asset-commission.csv
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
1,2,3,4,5,6,7,8
asset,commission_year,fixed_cost,investment_cost,investment_limit,fixed_cost_storage_energy,investment_cost_storage_energy,investment_limit_storage_energy
NL_E_Demand,2050,0,0,,0,0,
BE_E_Demand,2050,0,0,,0,0,
Expand Down
1 change: 0 additions & 1 deletion benchmark/EU/asset-milestone.csv
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
1,2,3,4,5,6,7,8,9
asset,milestone_year,investable,peak_demand,storage_inflows,initial_storage_level,min_energy_timeframe_partition,max_energy_timeframe_partition,units_on_cost
NL_E_Demand,2050,false,37487.25257,0,,,,0
BE_E_Demand,2050,false,26322.90865,0,,,,0
Expand Down
1 change: 0 additions & 1 deletion benchmark/EU/asset.csv
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23
asset,type,group,capacity,min_operating_point,investment_method,investment_integer,technical_lifetime,economic_lifetime,discount_rate,consumer_balance_sense,capacity_storage_energy,is_seasonal,use_binary_storage_method,unit_commitment,unit_commitment_method,unit_commitment_integer,ramping,storage_method_energy,energy_to_power_ratio,investment_integer_storage_energy,max_ramp_up,max_ramp_down
NL_E_Demand,consumer,,0,0,none,false,1,1,0,,0,false,,false,,false,false,false,0,false,,
BE_E_Demand,consumer,,0,0,none,false,1,1,0,,0,false,,false,,false,false,false,0,false,,
Expand Down
1 change: 0 additions & 1 deletion benchmark/EU/assets-profiles.csv
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
1,2,3,4
asset,commission_year,profile_type,profile_name
NL_E_Demand,2050,demand,NL_E_Demand
NL_Wind_Onshore,2050,availability,NL_Wind_Onshore
Expand Down
1 change: 0 additions & 1 deletion benchmark/EU/assets-rep-periods-partitions.csv
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
1,2,3,4,5
asset,year,rep_period,specification,partition
NL_E_Demand,2050,1,uniform,1
BE_E_Demand,2050,1,uniform,2
Expand Down
1 change: 0 additions & 1 deletion benchmark/EU/assets-timeframe-partitions.csv
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
,,{uniform;explicit;math},
asset,year,specification,partition
1 change: 0 additions & 1 deletion benchmark/EU/assets-timeframe-profiles.csv
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
1,2,3,4
asset,commission_year,profile_type,profile_name
FR_Hydro_Reservoir,2050,min_storage_level,FR_Hydro_Reservoir_Min_Storage_Level
FR_Hydro_Reservoir,2050,max-storage-level,FR_Hydro_Reservoir_Max_Storage_Level
Expand Down
1 change: 0 additions & 1 deletion benchmark/EU/flow-both.csv
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
1,2,3,4,5,6,7,8
from_asset,to_asset,milestone_year,commission_year,active,decommissionable,initial_export_units,initial_import_units
NL_E_Balance,NL_E_Demand,2050,2050,true,false,0,0
NL_E_ENS,NL_E_Demand,2050,2050,true,false,0,0
Expand Down
1 change: 0 additions & 1 deletion benchmark/EU/flow-commission.csv
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
1,2,3,4,5,6,7
from_asset,to_asset,commission_year,fixed_cost,investment_cost,efficiency,investment_limit
NL_E_Balance,NL_E_Demand,2050,0,0,1,
NL_E_ENS,NL_E_Demand,2050,0,0,1,
Expand Down
1 change: 0 additions & 1 deletion benchmark/EU/flow-milestone.csv
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
1,2,3,4,5
from_asset,to_asset,milestone_year,investable,variable_cost
NL_E_Balance,NL_E_Demand,2050,false,0
NL_E_ENS,NL_E_Demand,2050,false,1
Expand Down
1 change: 0 additions & 1 deletion benchmark/EU/flow.csv
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
1,2,3,4,5,6,7,8,9
from_asset,to_asset,carrier,is_transport,capacity,technical_lifetime,economic_lifetime,discount_rate,investment_integer
NL_E_Balance,NL_E_Demand,electricity,false,0,1,1,0,false
NL_E_ENS,NL_E_Demand,electricity,false,0,1,1,0,false
Expand Down
1 change: 0 additions & 1 deletion benchmark/EU/flows-profiles.csv
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
1,2,3,4,5
from_asset,to_asset,year,profile_type,profile_name
1 change: 0 additions & 1 deletion benchmark/EU/flows-rep-periods-partitions.csv
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
1,2,3,4,5,6
from_asset,to_asset,year,rep_period,specification,partition
NL_E_Balance,NL_E_Demand,2050,1,uniform,1
NL_E_ENS,NL_E_Demand,2050,1,uniform,1
Expand Down
1 change: 0 additions & 1 deletion benchmark/EU/profiles-rep-periods.csv
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
,,,,p.u.
profile_name,year,rep_period,timestep,value
NL_Wind_Onshore,2050,1,1,0.847335688
NL_Wind_Onshore,2050,1,2,0.738251392
Expand Down
1 change: 0 additions & 1 deletion benchmark/EU/profiles-timeframe.csv
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
,,,p.u.
profile_name,year,period,value
NO_Hydro_Min_Storage_Level,2050,1,0.5466666670000001
NO_Hydro_Min_Storage_Level,2050,2,0.5466666670000001
Expand Down
1 change: 0 additions & 1 deletion benchmark/EU/rep-periods-data.csv
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
,,,
year,rep_period,num_timesteps,resolution
2050,1,24,1.0
2050,2,24,1.0
Expand Down
1 change: 0 additions & 1 deletion benchmark/EU/rep-periods-mapping.csv
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
,,,p.u.
year,period,rep_period,weight
2050,1,6,0.033707691260474106
2050,1,31,0.10410076942420189
Expand Down
1 change: 0 additions & 1 deletion benchmark/EU/timeframe-data.csv
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
1,2,3
year,period,num_timesteps
2050,1,24
2050,2,24
Expand Down
1 change: 0 additions & 1 deletion benchmark/EU/year-data.csv
Original file line number Diff line number Diff line change
@@ -1,3 +1,2 @@
1,2,3
year,length,is_milestone
2050,8760,true
8 changes: 4 additions & 4 deletions docs/src/10-how-to-use.md
Original file line number Diff line number Diff line change
Expand Up @@ -471,7 +471,7 @@ Let's explore how the groups are set up in the test case called [Norse](https://
using DataFrames # hide
using CSV # hide
input_asset_file = "../../test/inputs/Norse/group-asset.csv" # hide
assets = CSV.read(input_asset_file, DataFrame, header = 2) # hide
assets = CSV.read(input_asset_file, DataFrame, header = 1) # hide
```

In the given data, there are two groups: `renewables` and `ccgt`. Both groups have the `invest_method` parameter set to `true`, indicating that investment group constraints apply to both. For the `renewables` group, the `min_investment_limit` parameter is missing, signifying that there is no minimum limit imposed on the group. However, the `max_investment_limit` parameter is set to 40000 MW, indicating that the total investments of assets in the group must be less than or equal to this value. In contrast, the `ccgt` group has a missing value in the `max_investment_limit` parameter, indicating no maximum limit, while the `min_investment_limit` is set to 10000 MW for the total investments in that group.
Expand All @@ -480,7 +480,7 @@ Let's now explore which assets are in each group. To do so, we can take a look a

```@example display-group-setup
input_asset_file = "../../test/inputs/Norse/graph-assets-data.csv" # hide
assets = CSV.read(input_asset_file, DataFrame, header = 2) # hide
assets = CSV.read(input_asset_file, DataFrame, header = 1) # hide
assets = assets[.!ismissing.(assets.group), [:name, :type, :group]] # hide
```

Expand Down Expand Up @@ -538,7 +538,7 @@ In order to set up a model with year information, the following steps are necess
using DataFrames # hide
using CSV # hide
input_asset_file = "../../test/inputs/Multi-year Investments/assets-data.csv" # hide
assets_data = CSV.read(input_asset_file, DataFrame, header = 2) # hide
assets_data = CSV.read(input_asset_file, DataFrame, header = 1) # hide
assets_data = assets_data[1:10, [:name, :year, :commission_year, :investable, :initial_units]] # hide
```

Expand All @@ -558,7 +558,7 @@ In order to set up a model with year information, the following steps are necess

```@example multi-year-setup
input_asset_file = "../../test/inputs/Multi-year Investments/assets-profiles.csv" # hide
assets_profiles = CSV.read(input_asset_file, DataFrame, header = 2) # hide
assets_profiles = CSV.read(input_asset_file, DataFrame, header = 1) # hide
assets_profiles = assets_profiles[1:2, :] # hide
```

Expand Down
22 changes: 11 additions & 11 deletions docs/src/30-concepts.md
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ The following table shows the user input data for the definition of asset time r
using DataFrames # hide
using CSV # hide
input_asset_file = "../../test/inputs/Variable Resolution/assets-rep-periods-partitions.csv" # hide
assets = CSV.read(input_asset_file, DataFrame, header = 2) # hide
assets = CSV.read(input_asset_file, DataFrame, header = 1) # hide
assets = assets[assets.asset .!= "wind", :] # hide
```

Expand All @@ -85,7 +85,7 @@ The same time resolution can be specified for the flows, for example (again, the

```@example print-partitions
input_flow_file = "../../test/inputs/Variable Resolution/flows-rep-periods-partitions.csv" # hide
flows_partitions = CSV.read(input_flow_file, DataFrame, header = 2) # hide
flows_partitions = CSV.read(input_flow_file, DataFrame, header = 1) # hide
```

The table shows a `uniform` definition for the flow from the hydrogen producer (`H2`) to the conversion asset (`ccgt`) of 6 hours, from the wind producer (`wind`) to the storage (`phs`) of 3 hours, and from the balance hub (`balance`) to the consumer (`demand`) of 3 hours, too. In addition, the flow from the wind producer (`wind`) to the balance hub (`balance`) is defined using the `math` specification of `1x2+1x4`, meaning that there are two time blocks, one of two hours (i.e., `1:2`) and another of four hours (i.e., `3:6`). Finally, the flow from the storage (`phs`) to the balance hub (`balance`) is defined using the `math` specification of `1x4+1x2`, meaning that there are two time blocks, one of four hours (i.e., `1:4`) and another of two hours (i.e., `5:6`).
Expand Down Expand Up @@ -350,23 +350,23 @@ The example demonstrates various assets that supply demand. Each asset has diffe
using DataFrames # hide
using CSV # hide
input_dir = "../../test/inputs/UC-ramping" # hide
assets_data = CSV.read(joinpath(input_dir, "assets-data.csv"), DataFrame, header = 2) # hide
graph_assets = CSV.read(joinpath(input_dir, "graph-assets-data.csv"), DataFrame, header = 2) # hide
assets_data = CSV.read(joinpath(input_dir, "assets-data.csv"), DataFrame, header = 1) # hide
graph_assets = CSV.read(joinpath(input_dir, "graph-assets-data.csv"), DataFrame, header = 1) # hide
assets = leftjoin(graph_assets, assets_data, on=:name) # hide
filtered_assets = assets[assets.type .== "producer" .|| assets.type .== "conversion", ["name", "type", "capacity", "initial_units", "unit_commitment", "ramping"]] # hide
```

The `assets-rep-periods-partitions` file defines the time resolution for the assets in the `partition` column. For instance, here we can see that the time resolutions are 3h for the `ccgt` and 6h for the `smr`. These values mean that the unit commitment variables (e.g., `units_on`) in the model have three and six hours resolution, respectively.

```@example unit-commitment
assets_partitions_data = CSV.read(joinpath(input_dir, "assets-rep-periods-partitions.csv"), DataFrame, header = 2) # hide
assets_partitions_data = CSV.read(joinpath(input_dir, "assets-rep-periods-partitions.csv"), DataFrame, header = 1) # hide
filtered_assets_partitions = assets_partitions_data[!, ["asset", "specification", "partition"]] # hide
```

The `flows-rep-periods-partitions` file defines the time resolution for the flows. In this example, we have that the flows from the `gas` asset to the `ccgt` and from the `ccgt` asset to the `demand` are in a 2h resolution.

```@example unit-commitment
flows_partitions_data = CSV.read(joinpath(input_dir, "flows-rep-periods-partitions.csv"), DataFrame, header = 2) # hide
flows_partitions_data = CSV.read(joinpath(input_dir, "flows-rep-periods-partitions.csv"), DataFrame, header = 1) # hide
filtered_flows_partitions = flows_partitions_data[!, ["from_asset", "to_asset", "specification", "partition"]] # hide
```

Expand Down Expand Up @@ -554,8 +554,8 @@ Let's first look at this feature's most relevant input data, starting with the `
using DataFrames # hide
using CSV # hide
input_dir = "../../test/inputs/Storage" # hide
assets_data = CSV.read(joinpath(input_dir, "assets-data.csv"), DataFrame, header = 2) # hide
graph_assets = CSV.read(joinpath(input_dir, "graph-assets-data.csv"), DataFrame, header = 2) # hide
assets_data = CSV.read(joinpath(input_dir, "assets-data.csv"), DataFrame, header = 1) # hide
graph_assets = CSV.read(joinpath(input_dir, "graph-assets-data.csv"), DataFrame, header = 1) # hide
assets = leftjoin(graph_assets, assets_data, on=:name) # hide
filtered_assets = assets[assets.type .== "storage", ["name", "type", "capacity", "capacity_storage_energy", "initial_storage_units", "initial_storage_level", "is_seasonal"]] # hide
```
Expand All @@ -566,7 +566,7 @@ The `rep-periods-data` file has information on the representative periods in the

```@example seasonal-storage
rp_file = "../../test/inputs/Storage/rep-periods-data.csv" # hide
rp = CSV.read(rp_file, DataFrame, header = 2) # hide
rp = CSV.read(rp_file, DataFrame, header = 1) # hide
```

![availability-profiles](./figs/availability-profiles.png)
Expand All @@ -575,7 +575,7 @@ The `rep-periods-mapping` relates each representative period with the periods in

```@example seasonal-storage
map_file = "../../test/inputs/Storage/rep-periods-mapping.csv" # hide
map = CSV.read(map_file, DataFrame, header = 2) # hide
map = CSV.read(map_file, DataFrame, header = 1) # hide
unstacked_map = unstack(map, :period, :rep_period, :weight) # hide
rename!(unstacked_map, ["period", "k=1", "k=2", "k=3"]) # hide
unstacked_map[!,["k=1", "k=2", "k=3"]] = convert.(Float64, unstacked_map[!,["k=1", "k=2", "k=3"]]) # hide
Expand All @@ -586,7 +586,7 @@ The file `assets-timeframe-partitions` has the information on how often we want

```@example seasonal-storage
phs_partitions_file = "../../test/inputs/Storage/assets-timeframe-partitions.csv" # hide
phs_partitions = CSV.read(phs_partitions_file, DataFrame, header = 2) # hide
phs_partitions = CSV.read(phs_partitions_file, DataFrame, header = 1) # hide
```

> **Note:**
Expand Down
1 change: 0 additions & 1 deletion test/inputs/Multi-year Investments/asset-both.csv
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
,,,,,,
asset,milestone_year,commission_year,active,decommissionable,initial_units,initial_storage_units
ocgt,2030,2030,true,false,0.0,0.0
ccgt,2030,2028,true,true,1.0,0.0
Expand Down
1 change: 0 additions & 1 deletion test/inputs/Multi-year Investments/asset-commission.csv
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
,,,,,,,
asset,commission_year,fixed_cost,investment_cost,investment_limit,fixed_cost_storage_energy,investment_cost_storage_energy,investment_limit_storage_energy
wind,2020,20.0,70.0,,5.0,0.0,
demand,2050,20.0,0.0,,5.0,0.0,
Expand Down
1 change: 0 additions & 1 deletion test/inputs/Multi-year Investments/asset-milestone.csv
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
,,,,,,,,
asset,milestone_year,investable,peak_demand,storage_inflows,initial_storage_level,min_energy_timeframe_partition,max_energy_timeframe_partition,units_on_cost
ccgt,2030,true,0.0,0.0,0.0,,,
wind,2030,true,0.0,0.0,0.0,,,
Expand Down
1 change: 0 additions & 1 deletion test/inputs/Multi-year Investments/asset.csv
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
,,,,,,,,,,,,,,,,,,,,,,
asset,type,group,capacity,min_operating_point,investment_method,investment_integer,technical_lifetime,economic_lifetime,discount_rate,consumer_balance_sense,capacity_storage_energy,is_seasonal,use_binary_storage_method,unit_commitment,unit_commitment_method,unit_commitment_integer,ramping,storage_method_energy,energy_to_power_ratio,investment_integer_storage_energy,max_ramp_up,max_ramp_down
battery,storage,,50.0,,simple,true,30,10,0.05,,100.0,false,,false,,false,false,false,0.0,false,,
ccgt,producer,,400.0,,compact,true,25,10,0.05,,0.0,false,,false,,false,false,false,0.0,false,,
Expand Down
1 change: 0 additions & 1 deletion test/inputs/Multi-year Investments/assets-profiles.csv
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
,,type,name
asset,commission_year,profile_type,profile_name
wind,2020,availability,availability-wind2020
wind,2030,availability,availability-wind2030
Expand Down
1 change: 0 additions & 1 deletion test/inputs/Multi-year Investments/flow-both.csv
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
,,,,,,,
from_asset,to_asset,milestone_year,commission_year,active,decommissionable,initial_export_units,initial_import_units
ocgt,demand,2030,2030,true,true,0.0,0.0
ccgt,demand,2030,2028,true,true,1.0,1.0
Expand Down
1 change: 0 additions & 1 deletion test/inputs/Multi-year Investments/flow-commission.csv
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
,,,,,,
from_asset,to_asset,commission_year,fixed_cost,investment_cost,efficiency,investment_limit
battery,demand,2030,0.0,350.0,0.95,
wind,demand,2030,0.0,350.0,0.0,
Expand Down
1 change: 0 additions & 1 deletion test/inputs/Multi-year Investments/flow-milestone.csv
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
,,,,
from_asset,to_asset,milestone_year,investable,variable_cost
battery,demand,2030,false,0.0
wind,demand,2030,false,0.001
Expand Down
1 change: 0 additions & 1 deletion test/inputs/Multi-year Investments/flow.csv
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
,,,,,,,,
from_asset,to_asset,carrier,is_transport,capacity,technical_lifetime,economic_lifetime,discount_rate,investment_integer
ens,demand,electricity,false,0.0,10,1,0.02,false
ocgt,demand,electricity,false,0.0,10,1,0.02,false
Expand Down
1 change: 0 additions & 1 deletion test/inputs/Multi-year Investments/flows-profiles.csv
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
,,,type,name
from_asset,to_asset,year,profile_type,profile_name
1 change: 0 additions & 1 deletion test/inputs/Multi-year Investments/initial-assets-data.csv
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
,{true;false},,,{true;false},{true;false},kEUR/MW/year,MW,MW,units,MW,{empty;==;>=},{true;false},MWh/year,units,MWh,h,{true;false},kEUR/MWh/year,MWh,MWh,{true;false},{missing;binary;relaxed_binary},MWh,MWh,{true;false},{missing;basic},kEUR/h/unit_on,{true;false},[p.u.],{true;false},[p.u.],[p.u.]
name,active,year,commission_year,investable,investment_integer,investment_cost,investment_limit,capacity,initial_units,peak_demand,consumer_balance_sense,is_seasonal,storage_inflows,initial_storage_units,initial_storage_level,energy_to_power_ratio,storage_method_energy,investment_cost_storage_energy,investment_limit_storage_energy,capacity_storage_energy,investment_integer_storage_energy,use_binary_storage_method,max_energy_timeframe_partition,min_energy_timeframe_partition,unit_commitment,unit_commitment_method,units_on_cost,unit_commitment_integer,min_operating_point,ramping,max_ramp_up,max_ramp_down
wind,true,2020,2020,false,false,0,,50,0.07,0,,false,0,0,0,0,false,0,,0,false,,,,false,,,false,,false,,
wind,true,2030,2030,false,false,70,,50,0.02,0,,false,0,0,0,0,false,0,,0,false,,,,false,,,false,,false,,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
,,,,p.u.
profile_name,year,rep_period,timestep,value
availability-wind2020,2030,1,1,0.11
availability-wind2020,2030,1,2,0.11
Expand Down
1 change: 0 additions & 1 deletion test/inputs/Multi-year Investments/rep-periods-data.csv
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
,,,hours
year,rep_period,num_timesteps,resolution
2030,1,24,1.0
2030,2,24,1.0
Expand Down
1 change: 0 additions & 1 deletion test/inputs/Multi-year Investments/rep-periods-mapping.csv
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
,,,p.u.
year,period,rep_period,weight
2030,1,1,1.0
2030,2,1,1.0
Expand Down
1 change: 0 additions & 1 deletion test/inputs/Multi-year Investments/timeframe-data.csv
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
,,
year,period,num_timesteps
2030,1,24
2030,2,24
Expand Down
1 change: 0 additions & 1 deletion test/inputs/Multi-year Investments/year-data.csv
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
,h,{true;false}
year,length,is_milestone
2020,8760,false
2028,8760,false
Expand Down
1 change: 0 additions & 1 deletion test/inputs/Norse/asset-both.csv
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
,,,,,,
asset,milestone_year,commission_year,active,decommissionable,initial_units,initial_storage_units
Asgard_Battery,2030,2030,true,false,7.25,0.0
Asgard_Solar,2030,2030,true,false,0.0,0.0
Expand Down
1 change: 0 additions & 1 deletion test/inputs/Norse/asset-commission.csv
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
,,,,,,,
asset,commission_year,fixed_cost,investment_cost,investment_limit,fixed_cost_storage_energy,investment_cost_storage_energy,investment_limit_storage_energy
Asgard_CCGT,2030,0.0,650.0,,5.0,0.0,
Midgard_Wind,2030,0.0,1300.0,80000.0,5.0,0.0,
Expand Down
1 change: 0 additions & 1 deletion test/inputs/Norse/asset-milestone.csv
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
,,,,,,,,
asset,milestone_year,investable,peak_demand,storage_inflows,initial_storage_level,min_energy_timeframe_partition,max_energy_timeframe_partition,units_on_cost
Asgard_CCGT,2030,true,0.0,0.0,0.0,,,0.97
Midgard_Wind,2030,true,0.0,0.0,0.0,,4.5e6,
Expand Down
1 change: 0 additions & 1 deletion test/inputs/Norse/asset.csv
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
,,,,,,,,,,,,,,,,,,,,,,
asset,type,group,capacity,min_operating_point,investment_method,investment_integer,technical_lifetime,economic_lifetime,discount_rate,consumer_balance_sense,capacity_storage_energy,is_seasonal,use_binary_storage_method,unit_commitment,unit_commitment_method,unit_commitment_integer,ramping,storage_method_energy,energy_to_power_ratio,investment_integer_storage_energy,max_ramp_up,max_ramp_down
Asgard_Battery,storage,,100.0,,simple,true,15,1,0.05,,10.0,false,binary,false,,false,false,true,100.0,true,,
Asgard_CCGT,conversion,ccgt,500.0,0.25,simple,true,15,1,0.05,,0.0,false,,true,basic,false,true,false,0.0,false,0.5,0.3
Expand Down
1 change: 0 additions & 1 deletion test/inputs/Norse/assets-profiles.csv
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
,,type,name
asset,commission_year,profile_type,profile_name
Asgard_Solar,2030,availability,availability-Asgard_Solar
Asgard_E_demand,2030,demand,demand-Asgard_E_demand
Expand Down
1 change: 0 additions & 1 deletion test/inputs/Norse/assets-rep-periods-partitions.csv
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
,,,{uniform;explicit;math},
asset,year,rep_period,specification,partition
Asgard_Solar,2030,1,uniform,4
Asgard_E_demand,2030,1,explicit,7;7;7;21;21;21;21;21;21;21
Expand Down
1 change: 0 additions & 1 deletion test/inputs/Norse/assets-timeframe-partitions.csv
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
,,{uniform;explicit;math},
asset,year,specification,partition
Midgard_Wind,2030,math,5x28+4x6+1x1+1x28+1x22
Midgard_Nuclear_SMR,2030,math,1x215
Expand Down
1 change: 0 additions & 1 deletion test/inputs/Norse/assets-timeframe-profiles.csv
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
,,type,name
asset,commission_year,profile_type,profile_name
Midgard_Hydro,2030,max_storage_level,max_storage_level-Midgard_Hydro
Midgard_Hydro,2030,min_storage_level,min_storage_level-Midgard_Hydro
Expand Down
1 change: 0 additions & 1 deletion test/inputs/Norse/flow-both.csv
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
,,,,,,,
from_asset,to_asset,milestone_year,commission_year,active,decommissionable,initial_export_units,initial_import_units
Asgard_Battery,Asgard_E_demand,2030,2030,true,true,0.0,0.0
Asgard_Solar,Asgard_Battery,2030,2030,true,true,0.0,0.0
Expand Down
1 change: 0 additions & 1 deletion test/inputs/Norse/flow-commission.csv
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
,,,,,,
from_asset,to_asset,commission_year,fixed_cost,investment_cost,efficiency,investment_limit
G_imports,Midgard_CCGT,2030,0.0,0.0,1.0,0.0
Midgard_E_demand,Midgard_Hydro,2030,0.0,0.0,0.7,0.0
Expand Down
1 change: 0 additions & 1 deletion test/inputs/Norse/flow-milestone.csv
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
,,,,
from_asset,to_asset,milestone_year,investable,variable_cost
G_imports,Midgard_CCGT,2030,false,0.0015
Midgard_E_demand,Midgard_Hydro,2030,false,0.0
Expand Down
1 change: 0 additions & 1 deletion test/inputs/Norse/flow.csv
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
,,,,,,,,
from_asset,to_asset,carrier,is_transport,capacity,technical_lifetime,economic_lifetime,discount_rate,investment_integer
Asgard_CCGT,Asgard_E_demand,electricity,false,0.0,10,1,0.02,false
G_imports,Midgard_CCGT,gas,false,0.0,10,1,0.02,false
Expand Down
1 change: 0 additions & 1 deletion test/inputs/Norse/flows-profiles.csv
Original file line number Diff line number Diff line change
@@ -1,3 +1,2 @@
,,,type,name
from_asset,to_asset,year,profile_type,profile_name
Asgard_E_demand,Valhalla_E_balance,2030,availability,availability-Asgard_Valhalla_flow
1 change: 0 additions & 1 deletion test/inputs/Norse/flows-rep-periods-partitions.csv
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
,,,,{uniform;explicit;math},
from_asset,to_asset,year,rep_period,specification,partition
Asgard_Solar,Asgard_Battery,2030,2,math,4x3+3x4
Asgard_Solar,Asgard_E_demand,2030,2,math,3x4+4x3
Expand Down
1 change: 0 additions & 1 deletion test/inputs/Norse/group-asset.csv
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
group_name,,{false; true},MW,MW
name,milestone_year,invest_method,min_investment_limit,max_investment_limit
renewables,2030,true,,40000
ccgt,2030,true,10000,
1 change: 0 additions & 1 deletion test/inputs/Norse/profiles-rep-periods.csv
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
,,,,p.u.
profile_name,year,rep_period,timestep,value
availability-Asgard_Solar,2030,1,1,0.0
availability-Asgard_Solar,2030,1,2,0.0
Expand Down
1 change: 0 additions & 1 deletion test/inputs/Norse/profiles-timeframe.csv
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
,,,p.u.
profile_name,year,period,value
max_energy-Midgard_Wind,2030,1,1.0
max_energy-Midgard_Wind,2030,2,1.0
Expand Down
1 change: 0 additions & 1 deletion test/inputs/Norse/rep-periods-data.csv
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
,,,hours
year,rep_period,num_timesteps,resolution
2030,1,168,1.0
2030,2,24,1.0
1 change: 0 additions & 1 deletion test/inputs/Norse/rep-periods-mapping.csv
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
,,,p.u.
year,period,rep_period,weight
2030,1,2,1.0
2030,2,2,1.0
Expand Down
Loading
Loading