Skip to content

Commit

Permalink
Merge pull request #16 from yueXiao2/master
Browse files Browse the repository at this point in the history
removed repetition on data loading
  • Loading branch information
nick-gorman authored Dec 11, 2023
2 parents 21bf2af + e8010f2 commit 0c81bbd
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions nempy/historical_inputs/units.py
Original file line number Diff line number Diff line change
Expand Up @@ -750,7 +750,6 @@ def get_processed_bids(self):
================ ========================================
"""
uigf_values = self.raw_input_loader.get_UIGF_values()
BIDPEROFFER_D = self.volume_bids.drop(['RAMPDOWNRATE', 'RAMPUPRATE'], axis=1)
initial_conditions = self.initial_conditions

Expand All @@ -761,7 +760,7 @@ def get_processed_bids(self):
agc_enablement_limits = self.raw_input_loader.get_agc_enablement_limits()
BIDPEROFFER_D = _scaling_for_agc_enablement_limits(BIDPEROFFER_D, agc_enablement_limits)
BIDPEROFFER_D = _scaling_for_agc_ramp_rates(BIDPEROFFER_D, initial_conditions)
BIDPEROFFER_D = _scaling_for_uigf(BIDPEROFFER_D, uigf_values)
BIDPEROFFER_D = _scaling_for_uigf(BIDPEROFFER_D, self.uigf_values)
self.BIDPEROFFER_D, BIDDAYOFFER_D = _enforce_preconditions_for_enabling_fcas(
BIDPEROFFER_D, BIDDAYOFFER_D, initial_conditions, unit_availability)

Expand Down

0 comments on commit 0c81bbd

Please sign in to comment.