area
Area for connecting market steps, loads, dclines, hydro power+++.
| Property | Value |
|---|---|
| Object type | area |
| Collection in the model | areas |
| Python class | pyltm.Area |
| Explained in | Areas |
Attributes¶
| Attribute name | Data type | Unit | Default value | Required |
|---|---|---|---|---|
| #comment | string | No | ||
| name | string | Yes | ||
| metadata | json | No | ||
| id | int | 0 | No | |
| water_value_weights | water_value_optional | No | ||
| spill_cost | double_optional | No | ||
| load_penalty | double_optional | No | ||
| max_iterations | int_optional | No | ||
| precision | double_optional | No | ||
| feedback_factors | feedback_factors_optional | No | ||
| has_detailed_grid | bool | 0 | No |
Result methods¶
| Method name | Returns | Arguments | Description |
|---|---|---|---|
| build_connection_tree | string | Create a directed acyclic graph in GraphViz dot format | |
| 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. | |
| have_battery_results | bool | Returns true if the area has battery results | |
| have_detailed_hydro_results | bool | Returns true if the area has detailed hydro results | |
| 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. | |
| have_market_results | bool | Returns true if the area has market results. Result is only valid if the object is part of a model. | |
| have_pump_results | 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 | bool | Returns true if the area has water value results | |
| hydraulic_couplings | list[HydraulicCoupling] | A list of hydraulic couplings connected to this area | |
| market_result_price | PyltmResult | time_axis = true | Area market price results over time |
| net_trade_on_market_steps | PyltmResult | time_axis = true | Area net trade on market steps (sum generation - sum consumption) |
| reservoirs | list[Reservoir] | A list of reservoirs (with plants) connected to this area | |
| sum_hydro_production | PyltmResult | time_axis = true | Area sum hydro production steps over time |
| sum_load | PyltmResult | time_axis = true | Area sum load over time |
| sum_power_used_for_pumping | PyltmResult | time_axis = true | Aggregated sum of supplied power for pumps |
| sum_pumped_power | PyltmResult | time_axis = true | Aggregated sum of power stored by pumping |
| sum_regulated_inflow | PyltmResult | time_axis = true | Area sum regulated power inflow over time |
| sum_reservoir | PyltmResult | time_axis = true | Area sum reservoir filling over time |
| sum_unregulated_inflow | PyltmResult | time_axis = true | Area sum unregulated power inflow over time |
| water_value_results | PyltmResult | time_axis = true | Water values for area |
Attribute descriptions¶
#comment¶
User comment
name¶
Object name
metadata¶
User metadata
id¶
Internal ID
water_value_weights¶
Water value weights
spill_cost¶
Spill cost price
load_penalty¶
Load penalty price
max_iterations¶
Max number of iterations for this Area
precision¶
Precision for this Area
feedback_factors¶
Area feedback factors
has_detailed_grid¶
Participates in detailed grid or not