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.

List of result methods

This list is not complete

Print the list for your own version of pyltm
# Print attributes
from IPython.display import HTML, display
import pyltm
import pandas as pd
from importlib.metadata import version

def show_ltmapi_result_methods():
    result_methods = pyltm.LtmApiModule.results()
    frame = pd.DataFrame(result_methods)
    display(HTML(frame.to_html()))


display(f"pyltm {version("pyltm")}")

show_ltmapi_result_methods()
Object typeMethod nameReturnsArgumentsDescription
areabuild_connection_treestringCreate a directed acyclic graph in GraphViz dot format
areahave_aggregated_hydro_resultsboolReturns 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.
areahave_battery_resultsboolReturns true if the area has battery results
areahave_detailed_hydro_resultsboolReturns true if the area has detailed hydro results
areahave_hydraulic_coupling_resultsboolReturns 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.
areahave_market_resultsboolReturns true if the area has market results. Result is only valid if the object is part of a model.
areahave_pump_resultsboolReturns true if the area has pump results. Result is only valid if the object is part of a model.
areahave_water_value_resultsboolReturns true if the area has water value results
areahydraulic_couplingslist[HydraulicCoupling]A list of hydraulic couplings connected to this area
areamarket_result_pricePyltmResulttime_axis = trueArea market price results over time
areanet_trade_on_market_stepsPyltmResulttime_axis = trueArea net trade on market steps (sum generation - sum consumption)
areareservoirslist[Reservoir]A list of reservoirs (with plants) connected to this area
areasum_hydro_productionPyltmResulttime_axis = trueArea sum hydro production steps over time
areasum_loadPyltmResulttime_axis = trueArea sum load over time
areasum_power_used_for_pumpingPyltmResulttime_axis = trueAggregated sum of supplied power for pumps
areasum_pumped_powerPyltmResulttime_axis = trueAggregated sum of power stored by pumping
areasum_regulated_inflowPyltmResulttime_axis = trueArea sum regulated power inflow over time
areasum_reservoirPyltmResulttime_axis = trueArea sum reservoir filling over time
areasum_unregulated_inflowPyltmResulttime_axis = trueArea sum unregulated power inflow over time
areawater_value_resultsPyltmResulttime_axis = trueWater values for area
batterysum_energyPyltmResulttime_axis = trueBattery module sum energy
batterysum_power_productionPyltmResulttime_axis = trueBattery module sum power production
cneget_dual_valuesPyltmResulttime_axis = trueFBMC dual values. Results are only valid with model type EMPS.
cneget_flow_valuesPyltmResulttime_axis = trueFBMC flow values. Results are only valid with model type EMPS.
dclinehave_transmission_resultsboolReturns true if there are valid transmission results for this DCLine
dclinetransmission_resultsPyltmResulttime_axis = trueTransmission results for DCLine
enmagsum_hydro_energyPyltmResulttime_axis = trueAggregated hydro module sum hydro energy
enmagsum_hydro_power_productionPyltmResulttime_axis = trueAggregated hydro module sum hydro power production
hydraulic_couplingconnected_reservoirslist[Reservoir]For a non-station joined hydraulic coupling (type 200 or 300), returns connected reservoirs.
hydraulic_couplingdischargePyltmResulttime_axis = trueHydraulic coupling discharge. Only relevant if HC is connected to a plant.
hydraulic_couplinghave_hydraulic_flow_resultsboolAre there hydraulic flow results available for this hydraulic coupling. Only available in EOPS, and with a license enabling hydraulic flow results.
hydraulic_couplingproductionPyltmResulttime_axis = trueHydraulic coupling production. Only relevant if HC is connected to a plant.
market_stephave_resultsboolTrue if detailed market results are available.
market_stepresultsPyltmResulttime_axis = trueDetailed results for MarketStep.
reservoirbypassPyltmResulttime_axis = trueReservoir bypass over time (price segment resolution).
reservoirdischargePyltmResulttime_axis = trueReservoir discharge over time (price segment resolution).
reservoirflowPyltmResulttime_axis = trueFlow exchange results for hydraulic coupling. Only available with EOPS, and a license enabling flow exchange results.
reservoirinflowPyltmResulttime_axis = trueReservoir inflow over time (price segment resolution).
reservoirproductionPyltmResulttime_axis = trueReservoir/plant production over time (price segment resolution).
reservoirreservoirPyltmResulttime_axis = trueReservoir filling over time (price segment resolution).
reservoirspillPyltmResulttime_axis = trueReservoir spill over time (price segment resolution).