diff --git a/src/nempy/markets.py b/src/nempy/markets.py index be76993..6f8c000 100644 --- a/src/nempy/markets.py +++ b/src/nempy/markets.py @@ -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 @@ -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 ------- @@ -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 ------- @@ -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 ------- @@ -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 ------- @@ -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 ------- @@ -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 ------- @@ -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 ------- @@ -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 ------- @@ -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 ------- @@ -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 ------- @@ -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 ------- diff --git a/src/nempy/spot_market_backend/unit_constraints.py b/src/nempy/spot_market_backend/unit_constraints.py index dd9fc8d..924e4f5 100644 --- a/src/nempy/spot_market_backend/unit_constraints.py +++ b/src/nempy/spot_market_backend/unit_constraints.py @@ -14,7 +14,7 @@ def capacity(unit_limits, next_constraint_id, bidirectional_units): Examples -------- - >>> import pandas + >>> import pandas as pd Defined the unit capacities. @@ -108,7 +108,7 @@ def uigf(unit_limits, next_constraint_id): Examples -------- - >>> import pandas + >>> import pandas as pd Defined the unit capacities. @@ -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. @@ -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. @@ -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.