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 type | Method name | Returns | Arguments | Description |
|---|---|---|---|---|
| area | build_connection_tree | string | Create a directed acyclic graph in GraphViz dot format | |
| area | have_aggregated_hydro_results | 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. | |
| area | have_battery_results | bool | Returns true if the area has battery results | |
| area | have_detailed_hydro_results | bool | Returns true if the area has detailed hydro results | |
| area | have_hydraulic_coupling_results | 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. | |
| area | have_market_results | bool | Returns true if the area has market results. Result is only valid if the object is part of a model. | |
| area | have_pump_results | bool | Returns true if the area has pump results. Result is only valid if the object is part of a model. | |
| area | have_water_value_results | bool | Returns true if the area has water value results | |
| area | hydraulic_couplings | list[HydraulicCoupling] | A list of hydraulic couplings connected to this area | |
| area | market_result_price | PyltmResult | time_axis = true | Area market price results over time |
| area | net_trade_on_market_steps | PyltmResult | time_axis = true | Area net trade on market steps (sum generation - sum consumption) |
| area | reservoirs | list[Reservoir] | A list of reservoirs (with plants) connected to this area | |
| area | sum_hydro_production | PyltmResult | time_axis = true | Area sum hydro production steps over time |
| area | sum_load | PyltmResult | time_axis = true | Area sum load over time |
| area | sum_power_used_for_pumping | PyltmResult | time_axis = true | Aggregated sum of supplied power for pumps |
| area | sum_pumped_power | PyltmResult | time_axis = true | Aggregated sum of power stored by pumping |
| area | sum_regulated_inflow | PyltmResult | time_axis = true | Area sum regulated power inflow over time |
| area | sum_reservoir | PyltmResult | time_axis = true | Area sum reservoir filling over time |
| area | sum_unregulated_inflow | PyltmResult | time_axis = true | Area sum unregulated power inflow over time |
| area | water_value_results | PyltmResult | time_axis = true | Water values for area |
| battery | sum_energy | PyltmResult | time_axis = true | Battery module sum energy |
| battery | sum_power_production | PyltmResult | time_axis = true | Battery module sum power production |
| cne | get_dual_values | PyltmResult | time_axis = true | FBMC dual values. Results are only valid with model type EMPS. |
| cne | get_flow_values | PyltmResult | time_axis = true | FBMC flow values. Results are only valid with model type EMPS. |
| dcline | have_transmission_results | bool | Returns true if there are valid transmission results for this DCLine | |
| dcline | transmission_results | PyltmResult | time_axis = true | Transmission results for DCLine |
| enmag | sum_hydro_energy | PyltmResult | time_axis = true | Aggregated hydro module sum hydro energy |
| enmag | sum_hydro_power_production | PyltmResult | time_axis = true | Aggregated hydro module sum hydro power production |
| hydraulic_coupling | connected_reservoirs | list[Reservoir] | For a non-station joined hydraulic coupling (type 200 or 300), returns connected reservoirs. | |
| hydraulic_coupling | discharge | PyltmResult | time_axis = true | Hydraulic coupling discharge. Only relevant if HC is connected to a plant. |
| hydraulic_coupling | have_hydraulic_flow_results | bool | Are there hydraulic flow results available for this hydraulic coupling. Only available in EOPS, and with a license enabling hydraulic flow results. | |
| hydraulic_coupling | production | PyltmResult | time_axis = true | Hydraulic coupling production. Only relevant if HC is connected to a plant. |
| market_step | have_results | bool | True if detailed market results are available. | |
| market_step | results | PyltmResult | time_axis = true | Detailed results for MarketStep. |
| reservoir | bypass | PyltmResult | time_axis = true | Reservoir bypass over time (price segment resolution). |
| reservoir | discharge | PyltmResult | time_axis = true | Reservoir discharge over time (price segment resolution). |
| reservoir | flow | PyltmResult | time_axis = true | Flow exchange results for hydraulic coupling. Only available with EOPS, and a license enabling flow exchange results. |
| reservoir | inflow | PyltmResult | time_axis = true | Reservoir inflow over time (price segment resolution). |
| reservoir | production | PyltmResult | time_axis = true | Reservoir/plant production over time (price segment resolution). |
| reservoir | reservoir | PyltmResult | time_axis = true | Reservoir filling over time (price segment resolution). |
| reservoir | spill | PyltmResult | time_axis = true | Reservoir spill over time (price segment resolution). |