Skip to content
Open
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
24 changes: 12 additions & 12 deletions src/nempy/markets.py
Original file line number Diff line number Diff line change
Expand Up @@ -339,7 +339,7 @@ def set_unit_price_bids(self, price_bids):

>>> market.set_unit_price_bids(price_bids)

The variable assocaited with each bid should now have a cost.
The variable associated with each bid should now have a cost.

>>> print(market._objective_function_components['bids'])
variable_id unit service dispatch_type capacity_band cost
Expand Down Expand Up @@ -496,7 +496,7 @@ def set_unit_bid_capacity_constraints(self, unit_limits, violation_cost=None):
============= ======================================================

violation_cost : float
Makes assocaited constrainst elastic using the given violation_cost (in $/MW).
Makes associated constraints elastic using the given violation_cost (in $/MW).

Returns
-------
Expand Down Expand Up @@ -611,7 +611,7 @@ def set_unconstrained_intermittent_generation_forecast_constraint(self, unit_lim
======== ================================================

violation_cost : float
Makes assocaited constrainst elastic using the given violation_cost (in $/MW).
Makes associated constraints elastic using the given violation_cost (in $/MW).

Returns
-------
Expand Down Expand Up @@ -801,7 +801,7 @@ def set_unit_ramp_rate_constraints(self, ramp_details, scada_ramp_rates=None, fa
'fast_start_first_run', or 'fast_start_second_run'.

violation_cost : float
Makes assocaited constrainst elastic using the given violation_cost (in $/MW).
Makes associated constraints elastic using the given violation_cost (in $/MW).

Returns
-------
Expand Down Expand Up @@ -1000,7 +1000,7 @@ def set_fast_start_constraints(self, fast_start_profiles, violation_cost=None):
================ ==========================================

violation_cost : float
Makes assocaited constrainst elastic using the given violation_cost (in $/MW).
Makes associated constraints elastic using the given violation_cost (in $/MW).

Returns
-------
Expand Down Expand Up @@ -1115,7 +1115,7 @@ def set_demand_constraints(self, demand, violation_cost=None):
======== ================================================

violation_cost : float
Makes assocaited constrainst elastic using the given violation_cost (in $/MW).
Makes associated constraints elastic using the given violation_cost (in $/MW).

Returns
-------
Expand Down Expand Up @@ -1220,7 +1220,7 @@ def set_fcas_requirements_constraints(self, fcas_requirements, violation_cost=No
======== ===============================================

violation_cost : float | pd.DataFrame
Makes assocaited constrainst elastic using the given violation_cost (in $/MW).
Makes associated constraints elastic using the given violation_cost (in $/MW).

Returns
-------
Expand Down Expand Up @@ -1318,7 +1318,7 @@ def set_fcas_max_availability(self, fcas_max_availability, violation_cost=None):
================ =======================================

violation_cost : float
Makes assocaited constrainst elastic using the given violation_cost (in $/MW).
Makes associated constraints elastic using the given violation_cost (in $/MW).

Returns
-------
Expand Down Expand Up @@ -1483,7 +1483,7 @@ def set_joint_ramping_constraints_reg(self, scada_ramp_rates, fast_start_profile
'fast_start_first_run', or 'fast_start_second_run'.

violation_cost : float
Makes assocaited constrainst elastic using the given violation_cost (in $/MW).
Makes associated constraints elastic using the given violation_cost (in $/MW).

Returns
-------
Expand Down Expand Up @@ -1697,7 +1697,7 @@ def set_joint_capacity_constraints(self, contingency_trapeziums, violation_cost=
================ =======================================

violation_cost : float
Makes assocaited constrainst elastic using the given violation_cost (in $/MW).
Makes associated constraints elastic using the given violation_cost (in $/MW).

Returns
-------
Expand Down Expand Up @@ -1833,7 +1833,7 @@ def set_energy_and_regulation_capacity_constraints(self, regulation_trapeziums,
================ =======================================

violation_cost : float
Makes assocaited constrainst elastic using the given violation_cost (in $/MW).
Makes associated constraints elastic using the given violation_cost (in $/MW).

Returns
-------
Expand Down Expand Up @@ -2334,7 +2334,7 @@ def set_generic_constraints(self, generic_constraint_parameters, violation_cost=
============= ===========================================

violation_cost : float | pd.DataFrame
Makes assocaited constrainst elastic using the given violation_cost (in $/MW).
Makes associated constraints elastic using the given violation_cost (in $/MW).

Returns
-------
Expand Down
10 changes: 5 additions & 5 deletions src/nempy/spot_market_backend/unit_constraints.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ def capacity(unit_limits, next_constraint_id, bidirectional_units):
Examples
--------

>>> import pandas
>>> import pandas as pd

Defined the unit capacities.

Expand Down Expand Up @@ -108,7 +108,7 @@ def uigf(unit_limits, next_constraint_id):
Examples
--------

>>> import pandas
>>> import pandas as pd

Defined the unit capacities.

Expand Down Expand Up @@ -192,7 +192,7 @@ def ramp_up(unit_limits, next_constraint_id, dispatch_interval):
Examples
--------

>>> import pandas
>>> import pandas as pd

Defined the unit capacities.

Expand Down Expand Up @@ -280,7 +280,7 @@ def ramp_down(unit_limits, next_constraint_id, dispatch_interval):
Examples
--------

>>> import pandas
>>> import pandas as pd

Defined the unit capacities.

Expand Down Expand Up @@ -367,7 +367,7 @@ def fcas_max_availability(fcas_availability, next_constraint_id):
Examples
--------

>>> import pandas
>>> import pandas as pd

Defined the unit fcas availability.

Expand Down