quintel / merit

A system for calculating hourly electricity and heat loads with a merit order
MIT License
3 stars 2 forks source link

Create example/stub with realistic Participants from ETEngine #11

Closed dennisquintel closed 11 years ago

dennisquintel commented 11 years ago

@ChaelKruip already created an Excel file.

ChaelKruip commented 11 years ago

I have made some progress on initializing participants for stubbing. I made a Gist here with a preliminary initialization of participants. NOTE: these initializations are a first attempt and still need some work.

dennisquintel commented 11 years ago

Thanks!

Could you make clear which are volatiles, must_runs and dispatchables?

ChaelKruip commented 11 years ago

Done in this Gist

dennisquintel commented 11 years ago

This line has maginal_costs of 'NaN':

Merit::Order.add(
  MustRunParticipant.new(
    key: "households_water_heater_fuel_cell_chp_network_gas",
    marginal_costs: NaN,
    effective_output_capacity: 0,
    [...]
)
dennisquintel commented 11 years ago

And there's three more NaN's

dennisquintel commented 11 years ago

Please edit this directly in https://github.com/quintel/merit/blob/master/examples/stub.rb

ChaelKruip commented 11 years ago

Fixed with merit/commit/599416696df5478657d