CHP Ramp Rate Limitation Option #557
Draft
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This pull request introduces a new ramp rate constraint for Combined Heat and Power (CHP) systems, improves result reporting for curtailed electricity, and adds a new test scenario to validate these changes. The most significant updates are the implementation of CHP ramp rate constraints, enhancements to input parsing and result reporting, and the addition of a comprehensive nuclear battery scenario test.
CHP Ramp Rate Constraints:
ramp_rate_fraction_per_hourto theCHPstruct and input parsing, allowing users to specify the maximum rate of change in CHP electric production per hour as a fraction of capacity. [1] [2]add_chp_ramp_rate_constraintsinchp_constraints.jlto enforce ramp up and ramp down limits on CHP production between consecutive timesteps.Result Reporting Improvements:
add_chp_resultsto report curtailed electric output from CHP (electric_curtailed_series_kw) and subtract curtailment from the calculated CHP-to-load values for more accurate reporting.Input Handling Enhancements:
dictkeys_tosymbolsutility to robustly convert numeric boolean values (0.0/1.0) to properBooltypes, preventing errors during input parsing.Testing and Validation:
nuclear_battery.jsonand a comprehensive test scripttest_ramp.jlto simulate a nuclear-as-CHP system with ramp rate constraints and battery support, including plotting and result summaries. [1] [2]