Area
class pyltm.AreaArea for connecting market steps, loads, dclines, hydro power+++.
An area represents an ENMD-file in a classical EMPS/EOPS dataset.
Properties¶
| Property | Description | Required |
|---|---|---|
comment | User comment | no |
feedback_factors | Area feedback factors | no |
has_detailed_grid | Participates in detailed grid or not | no |
id | Internal ID | no |
load_penalty | Load penalty price | no |
max_iterations | Max number of iterations for this Area | no |
metadata | User metadata | no |
name | Object name | yes |
precision | Precision for this Area | no |
spill_cost | Spill cost price | no |
water_value_weights | Water value weights | no |
what | A static property returning the string ‘area’ |
Methods¶
build_connection_tree¶
build_connection_tree(self: pyltm.Area) -> strCreate a directed acyclic graph in GraphViz dot format
have_aggregated_hydro_results¶
have_aggregated_hydro_results(self: pyltm.Area) -> boolReturns true if area has aggregated hydro results and is not a battery area. Result is only valid if the object is part of a model.
have_battery_results¶
have_battery_results(self: pyltm.Area) -> boolReturns true if the area has battery results
have_detailed_hydro_results¶
have_detailed_hydro_results(self: pyltm.Area) -> boolReturns true if the area has detailed hydro results
have_hydraulic_coupling_results¶
have_hydraulic_coupling_results(self: pyltm.Area) -> boolReturns true if there are results from hydraulic couplings type 200 or type 300. Result is only valid if the object is part of a model.
have_market_results¶
have_market_results(self: pyltm.Area) -> boolReturns true if the area has market results. Result is only valid if the object is part of a model.
have_pump_results¶
have_pump_results(self: pyltm.Area) -> boolReturns true if the area has pump results. Result is only valid if the object is part of a model.
have_water_value_results¶
have_water_value_results(self: pyltm.Area) -> boolReturns true if the area has water value results
hydraulic_couplings¶
hydraulic_couplings(self: pyltm.Area) -> list[pyltm.HydraulicCoupling]A list of hydraulic couplings connected to this area
market_result_price¶
market_result_price(self: pyltm.Area, time_axis: bool = True) -> pyltm.PyltmResultArea market price results over time
net_trade_on_market_steps¶
net_trade_on_market_steps(self: pyltm.Area, time_axis: bool = True) -> pyltm.PyltmResultArea net trade on market steps (sum generation - sum consumption)
reservoirs¶
reservoirs(self: pyltm.Area) -> list[pyltm.Reservoir]A list of reservoirs (with plants) connected to this area
sum_hydro_production¶
sum_hydro_production(self: pyltm.Area, time_axis: bool = True) -> pyltm.PyltmResultArea sum hydro production steps over time
sum_load¶
sum_load(self: pyltm.Area, time_axis: bool = True) -> pyltm.PyltmResultArea sum load over time
sum_power_used_for_pumping¶
sum_power_used_for_pumping(self: pyltm.Area, time_axis: bool = True) -> pyltm.PyltmResultAggregated sum of supplied power for pumps
sum_pumped_power¶
sum_pumped_power(self: pyltm.Area, time_axis: bool = True) -> pyltm.PyltmResultAggregated sum of power stored by pumping
sum_regulated_inflow¶
sum_regulated_inflow(self: pyltm.Area, time_axis: bool = True) -> pyltm.PyltmResultArea sum regulated power inflow over time
sum_reservoir¶
sum_reservoir(self: pyltm.Area, time_axis: bool = True) -> pyltm.PyltmResultArea sum reservoir filling over time
sum_unregulated_inflow¶
sum_unregulated_inflow(self: pyltm.Area, time_axis: bool = True) -> pyltm.PyltmResultArea sum unregulated power inflow over time
water_value_results¶
water_value_results(self: pyltm.Area, time_axis: bool = True) -> pyltm.PyltmResultWater values for area