Skip to article frontmatterSkip to article content
Site not loading correctly?

This may be due to an incorrect BASE_URL configuration. See the MyST Documentation for reference.

Area

class pyltm.Area

Area for connecting market steps, loads, dclines, hydro power+++.

An area represents an ENMD-file in a classical EMPS/EOPS dataset.

Properties

PropertyDescriptionRequired
commentUser commentno
feedback_factorsArea feedback factorsno
has_detailed_gridParticipates in detailed grid or notno
idInternal IDno
load_penaltyLoad penalty priceno
max_iterationsMax number of iterations for this Areano
metadataUser metadatano
nameObject nameyes
precisionPrecision for this Areano
spill_costSpill cost priceno
water_value_weightsWater value weightsno
whatA static property returning the string ‘area’

Methods

build_connection_tree

build_connection_tree(self: pyltm.Area) -> str

Create a directed acyclic graph in GraphViz dot format

have_aggregated_hydro_results

have_aggregated_hydro_results(self: pyltm.Area) -> bool

Returns 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) -> bool

Returns true if the area has battery results

have_detailed_hydro_results

have_detailed_hydro_results(self: pyltm.Area) -> bool

Returns true if the area has detailed hydro results

have_hydraulic_coupling_results

have_hydraulic_coupling_results(self: pyltm.Area) -> bool

Returns 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) -> bool

Returns 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) -> bool

Returns 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) -> bool

Returns 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.PyltmResult

Area market price results over time

net_trade_on_market_steps

net_trade_on_market_steps(self: pyltm.Area, time_axis: bool = True) -> pyltm.PyltmResult

Area 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.PyltmResult

Area sum hydro production steps over time

sum_load

sum_load(self: pyltm.Area, time_axis: bool = True) -> pyltm.PyltmResult

Area sum load over time

sum_power_used_for_pumping

sum_power_used_for_pumping(self: pyltm.Area, time_axis: bool = True) -> pyltm.PyltmResult

Aggregated sum of supplied power for pumps

sum_pumped_power

sum_pumped_power(self: pyltm.Area, time_axis: bool = True) -> pyltm.PyltmResult

Aggregated sum of power stored by pumping

sum_regulated_inflow

sum_regulated_inflow(self: pyltm.Area, time_axis: bool = True) -> pyltm.PyltmResult

Area sum regulated power inflow over time

sum_reservoir

sum_reservoir(self: pyltm.Area, time_axis: bool = True) -> pyltm.PyltmResult

Area sum reservoir filling over time

sum_unregulated_inflow

sum_unregulated_inflow(self: pyltm.Area, time_axis: bool = True) -> pyltm.PyltmResult

Area sum unregulated power inflow over time

water_value_results

water_value_results(self: pyltm.Area, time_axis: bool = True) -> pyltm.PyltmResult

Water values for area