Skip to content

Instantly share code, notes, and snippets.

@ChaelKruip
Created November 9, 2012 10:41
Show Gist options
  • Save ChaelKruip/b7dcd18c8cfbffc3effe to your computer and use it in GitHub Desktop.
Save ChaelKruip/b7dcd18c8cfbffc3effe to your computer and use it in GitHub Desktop.
First attempt at putting all participants into a file with their correct attributes. NOTE: all participants now are of the "Participant" type and have 'load_profile_key' and 'full_load_hours' attributes. These attributes are BOGUS for all dispatchable par
Merit::Order.add(
VolatileParticipant.new(
key: "energy_power_solar_pv_solar_radiation",
marginal_costs: 0,
effective_output_capacity: 0,
number_of_units: 0,
availability: 0.98,
fixed_costs: 4236515.36,
load_profile_key: "solar_profile",
full_load_hours: 1050
)
)
Merit::Order.add(
VolatileParticipant.new(
key: "energy_power_solar_csp_solar_radiation",
marginal_costs: 1,
effective_output_capacity: 0,
number_of_units: 0,
availability: 0.99,
fixed_costs: 15129166.33,
load_profile_key: "solar_profile",
full_load_hours: 500
)
)
Merit::Order.add(
VolatileParticipant.new(
key: "energy_power_wind_turbine_inland",
marginal_costs: 0,
effective_output_capacity: 1080,
number_of_units: 360,
availability: 0.95,
fixed_costs: 531768.45,
load_profile_key: "inland_wind_profile",
full_load_hours: 2500
)
)
Merit::Order.add(
VolatileParticipant.new(
key: "energy_power_wind_turbine_coastal",
marginal_costs: 0,
effective_output_capacity: 200,
number_of_units: 66.66666667,
availability: 0.95,
fixed_costs: 531768.45,
load_profile_key: "coastal_wind_profile",
full_load_hours: 3000
)
)
Merit::Order.add(
VolatileParticipant.new(
key: "energy_power_wind_turbine_offshore",
marginal_costs: 0,
effective_output_capacity: 194.2857143,
number_of_units: 64.76190476,
availability: 0.92,
fixed_costs: 1643536.011,
load_profile_key: "offshore_wind_profile",
full_load_hours: 3500
)
)
Merit::Order.add(
VolatileParticipant.new(
key: "buildings_solar_pv_solar_radiation",
marginal_costs: 0,
effective_output_capacity: 31.71428571,
number_of_units: 2547.332186,
availability: 0.98,
fixed_costs: 2545.292412,
load_profile_key: "solar_profile",
full_load_hours: 1050
)
)
Merit::Order.add(
VolatileParticipant.new(
key: "households_solar_pv_solar_radiation",
marginal_costs: 0,
effective_output_capacity: 63.52380952,
number_of_units: 51023.14018,
availability: 0.98,
fixed_costs: 222.9245208,
load_profile_key: "solar_profile",
full_load_hours: 1050
)
)
Merit::Order.add(
MustRunParticipant.new(
key: "industry_chp_combined_cycle_gas_power_fuelmix",
marginal_costs: 109.5210516,
effective_output_capacity: 3105,
number_of_units: 122.0877551,
availability: 0.97,
fixed_costs: 2543878.235,
load_profile_key: "industry_chp_profile",
full_load_hours: 5442.834138
)
)
Merit::Order.add(
MustRunParticipant.new(
key: "industry_chp_supercritical_wood_pellets",
marginal_costs: 139.7898305,
effective_output_capacity: 343,
number_of_units: 10.54725,
availability: 0.97,
fixed_costs: 9479267.598,
load_profile_key: "industry_chp_profile",
full_load_hours: 5247.813411
)
)
Merit::Order.add(
MustRunParticipant.new(
key: "industry_chp_ultra_supercritical_coal",
marginal_costs: 32.15521115,
effective_output_capacity: 0,
number_of_units: 0,
availability: 0.97,
fixed_costs: 4974342.555,
load_profile_key: "industry_chp_profile",
full_load_hours: 4204.8
)
)
Merit::Order.add(
MustRunParticipant.new(
key: "energy_power_supercritical_waste_mix",
marginal_costs: 1.20608908,
effective_output_capacity: 630,
number_of_units: 11.68978647,
availability: 0.9,
fixed_costs: 26877150,
load_profile_key: "industry_chp_profile",
full_load_hours: 6190.47619
)
)
Merit::Order.add(
MustRunParticipant.new(
key: "agriculture_chp_engine_gas_power_fuelmix",
marginal_costs: 78.31972973,
effective_output_capacity: 3065,
number_of_units: 3023.581081,
availability: 0.97,
fixed_costs: 116478.4738,
load_profile_key: "agriculture_chp_profile",
full_load_hours: 3980.424144
)
)
Merit::Order.add(
MustRunParticipant.new(
key: "buildings_collective_chp_wood_pellets",
marginal_costs: 154.16507,
effective_output_capacity: 0,
number_of_units: 0,
availability: 0.97,
fixed_costs: 18359173.13,
load_profile_key: "buildings_chps_profile",
full_load_hours: 6097.777778
)
)
Merit::Order.add(
MustRunParticipant.new(
key: "buildings_collective_chp_gas_power_fuelmix",
marginal_costs: 94.03660242,
effective_output_capacity: 405.8853374,
number_of_units: 871.7816937,
availability: 0.97,
fixed_costs: 49847.77778,
load_profile_key: "buildings_chps_profile",
full_load_hours: 3942
)
)
Merit::Order.add(
MustRunParticipant.new(
key: "households_collective_chp_wood_pellets",
marginal_costs: 119.9789346,
effective_output_capacity: 0,
number_of_units: 0,
availability: 0.97,
fixed_costs: 18359173.13,
load_profile_key: "buildings_chps_profile",
full_load_hours: 6097.777778
)
)
Merit::Order.add(
MustRunParticipant.new(
key: "households_collective_chp_network_gas",
marginal_costs: 13.2815786,
effective_output_capacity: 0,
number_of_units: 0,
availability: 0.97,
fixed_costs: 49847.77778,
load_profile_key: "buildings_chps_profile",
full_load_hours: 3942
)
)
Merit::Order.add(
MustRunParticipant.new(
key: "households_water_heater_fuel_cell_chp_network_gas",
marginal_costs: NaN,
effective_output_capacity: 0,
number_of_units: 0,
availability: 0.97,
fixed_costs: 2453,
load_profile_key: "buildings_chps_profile",
full_load_hours: 0
)
)
Merit::Order.add(
MustRunParticipant.new(
key: "other_chp_engine_gas_power_fuelmix",
marginal_costs: 78.38201622,
effective_output_capacity: 0,
number_of_units: 0,
availability: 0.97,
fixed_costs: 54068.71357,
load_profile_key: "buildings_chps_profile",
full_load_hours: 4000
)
)
Merit::Order.add(
MustRunParticipant.new(
key: "other_chp_supercritical_wood_pellets",
marginal_costs: NaN,
effective_output_capacity: 0,
number_of_units: 0,
availability: 0.97,
fixed_costs: 27886950.9,
load_profile_key: "buildings_chps_profile",
full_load_hours: 6097.777778
)
)
Merit::Order.add(
MustRunParticipant.new(
key: "households_space_heater_micro_chp_network_gas",
marginal_costs: NaN,
effective_output_capacity: 0,
number_of_units: 0,
availability: 0.97,
fixed_costs: 933,
load_profile_key: "buildings_chps_profile",
full_load_hours: 0
)
)
Merit::Order.add(
MustRunParticipant.new(
key: "households_water_heater_micro_chp_network_gas",
marginal_costs: NaN,
effective_output_capacity: 0,
number_of_units: 0,
availability: 0.97,
fixed_costs: 933,
load_profile_key: "buildings_chps_profile",
full_load_hours: 0
)
)
Merit::Order.add(
MustRunParticipant.new(
key: "energy_power_ultra_supercritical_cofiring_wood_pellets",
marginal_costs: 76.54109444,
effective_output_capacity: 0,
number_of_units: 0,
availability: 0.89,
fixed_costs: 133969444.4,
load_profile_key: "",
full_load_hours: 6329.1
)
)
Merit::Order.add(
MustRunParticipant.new(
key: "energy_power_hydro_river",
marginal_costs: 0,
effective_output_capacity: 37,
number_of_units: 3.7,
availability: 0.98,
fixed_costs: 3000000,
load_profile_key: "",
full_load_hours: 2702.702703
)
)
Merit::Order.add(
MustRunParticipant.new(
key: "energy_power_hydro_mountain",
marginal_costs: 2.49208966,
effective_output_capacity: 0,
number_of_units: 0,
availability: 0.98,
fixed_costs: 51155234.43,
load_profile_key: "",
full_load_hours: 3942
)
)
Merit::Order.add(
MustRunParticipant.new(
key: "energy_power_geothermal",
marginal_costs: 0,
effective_output_capacity: 0,
number_of_units: 0,
availability: 0.95,
fixed_costs: 9315783.898,
load_profile_key: "",
full_load_hours: 8250
)
)
Merit::Order.add(
DispatchableParticipant.new(
key: "energy_chp_combined_cycle_gas_power_fuelmix",
marginal_costs: 60.33237888,
effective_output_capacity: 3305.6,
number_of_units: 5.749536178,
availability: 0.9,
fixed_costs: 61526416,
)
)
Merit::Order.add(
DispatchableParticipant.new(
key: "energy_chp_ultra_supercritical_coal",
marginal_costs: 32.39199569,
effective_output_capacity: 1669.982458,
number_of_units: 2.365705626,
availability: 0.88,
fixed_costs: 111231290.8,
)
)
Merit::Order.add(
DispatchableParticipant.new(
key: "energy_chp_ultra_supercritical_crude_oil",
marginal_costs: 109.3782764,
effective_output_capacity: 0,
number_of_units: 0,
availability: 0.89,
fixed_costs: 49359621.7,
)
)
Merit::Order.add(
DispatchableParticipant.new(
key: "energy_chp_ultra_supercritical_lignite",
marginal_costs: 16.60280222,
effective_output_capacity: 0,
number_of_units: 0,
availability: 0.97,
fixed_costs: 92837254.57,
)
)
Merit::Order.add(
DispatchableParticipant.new(
key: "energy_chp_ultra_supercritical_wood_pellets",
marginal_costs: 139.7898305,
effective_output_capacity: 0,
number_of_units: 0,
availability: 0.89,
fixed_costs: 27886950.9,
)
)
Merit::Order.add(
DispatchableParticipant.new(
key: "energy_power_combined_cycle_ccs_coal",
marginal_costs: 28.36859203,
effective_output_capacity: 0,
number_of_units: 0,
availability: 0.87,
fixed_costs: 178999174,
)
)
Merit::Order.add(
DispatchableParticipant.new(
key: "energy_power_combined_cycle_ccs_gas_power_fuelmix",
marginal_costs: 57.28270883,
effective_output_capacity: 0,
number_of_units: 0,
availability: 0.85,
fixed_costs: 76566794.3,
)
)
Merit::Order.add(
DispatchableParticipant.new(
key: "energy_power_combined_cycle_coal",
marginal_costs: 23.20617439,
effective_output_capacity: 253,
number_of_units: 0.322704082,
availability: 0.9,
fixed_costs: 157393563.3,
)
)
Merit::Order.add(
DispatchableParticipant.new(
key: "energy_power_combined_cycle_gas_power_fuelmix",
marginal_costs: 44.24374451,
effective_output_capacity: 4002,
number_of_units: 5.104591837,
availability: 0.9,
fixed_costs: 61526416,
)
)
Merit::Order.add(
DispatchableParticipant.new(
key: "energy_power_engine_diesel",
marginal_costs: 160.0982801,
effective_output_capacity: 0,
number_of_units: 0,
availability: 0.89,
fixed_costs: 49359621.7,
)
)
Merit::Order.add(
DispatchableParticipant.new(
key: "energy_power_nuclear_gen2_uranium_oxide",
marginal_costs: 6.133182844,
effective_output_capacity: 0,
number_of_units: 0,
availability: 0.85,
fixed_costs: 317248000,
)
)
Merit::Order.add(
DispatchableParticipant.new(
key: "energy_power_nuclear_gen3_uranium_oxide",
marginal_costs: 5.826162528,
effective_output_capacity: 510,
number_of_units: 0.31875,
availability: 0.9,
fixed_costs: 577551594.8,
)
)
Merit::Order.add(
DispatchableParticipant.new(
key: "energy_power_supercritical_coal",
marginal_costs: 29.9100356,
effective_output_capacity: 0,
number_of_units: 0,
availability: 0.89,
fixed_costs: 79981066.11,
)
)
Merit::Order.add(
DispatchableParticipant.new(
key: "energy_power_turbine_network_gas",
marginal_costs: 78.01340618,
effective_output_capacity: 212,
number_of_units: 1.442176871,
availability: 0.89,
fixed_costs: 6634766.741,
)
)
Merit::Order.add(
DispatchableParticipant.new(
key: "energy_power_ultra_supercritical_ccs_coal",
marginal_costs: 34.97148374,
effective_output_capacity: 0,
number_of_units: 0,
availability: 0.85,
fixed_costs: 137557916.7,
)
)
Merit::Order.add(
DispatchableParticipant.new(
key: "energy_power_ultra_supercritical_coal",
marginal_costs: 28.88180898,
effective_output_capacity: 2686.38611,
number_of_units: 3.391901654,
availability: 0.88,
fixed_costs: 111231290.8,
)
)
Merit::Order.add(
DispatchableParticipant.new(
key: "energy_power_ultra_supercritical_crude_oil",
marginal_costs: 93.09320787,
effective_output_capacity: 0,
number_of_units: 0,
availability: 0.89,
fixed_costs: 49359621.7,
)
)
Merit::Order.add(
DispatchableParticipant.new(
key: "energy_power_ultra_supercritical_gas_power_fuelmix",
marginal_costs: 65.90324432,
effective_output_capacity: 3824,
number_of_units: 4.828282828,
availability: 0.89,
fixed_costs: 29085600,
)
)
Merit::Order.add(
DispatchableParticipant.new(
key: "energy_power_ultra_supercritical_lignite",
marginal_costs: 13.999791,
effective_output_capacity: 0,
number_of_units: 0,
availability: 0.89,
fixed_costs: 112037799.7,
)
)
Merit::Order.add(
DispatchableParticipant.new(
key: "energy_power_ultra_supercritical_oxyfuel_ccs_lignite",
marginal_costs: 19.58755889,
effective_output_capacity: 0,
number_of_units: 0,
availability: 0.85,
fixed_costs: 240498185.1,
)
)
@ChaelKruip
Copy link
Author

Improved initializers with Proper class names and profiles.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment