thematic_trimming
Classes:
-
ThematicTrimmingParameters–Thematic trimming allows to disable output columns that are not needed for future post-processing.
ThematicTrimmingParameters
dataclass
ThematicTrimmingParameters(
ov_cost: bool = True,
op_cost: bool = True,
mrg_price: bool = True,
co2_emis: bool = True,
dtg_by_plant: bool = True,
balance: bool = True,
row_bal: bool = True,
psp: bool = True,
misc_ndg: bool = True,
load: bool = True,
h_ror: bool = True,
wind: bool = True,
h_stor: bool = True,
h_pump: bool = True,
h_lev: bool = True,
h_infl: bool = True,
h_ovfl: bool = True,
h_val: bool = True,
h_cost: bool = True,
unsp_enrg: bool = True,
spil_enrg: bool = True,
lold: bool = True,
lolp: bool = True,
avl_dtg: bool = True,
dtg_mrg: bool = True,
max_mrg: bool = True,
np_cost: bool = True,
np_cost_by_plant: bool = True,
nodu: bool = True,
nodu_by_plant: bool = True,
flow_lin: bool = True,
ucap_lin: bool = True,
loop_flow: bool = True,
flow_quad: bool = True,
cong_fee_alg: bool = True,
cong_fee_abs: bool = True,
marg_cost: bool = True,
cong_prob_plus: bool = True,
cong_prob_minus: bool = True,
hurdle_cost: bool = True,
res_generation_by_plant: bool = True,
dens: bool = True,
profit_by_plant: bool = True,
sts_inj_by_plant: bool = True,
sts_withdrawal_by_plant: bool = True,
sts_lvl_by_plant: bool = True,
sts_cashflow_by_cluster: bool = True,
npcap_hours: bool = True,
bc_marg_cost: bool = True,
lmr_viol: bool = True,
dtg_mrg_csr: bool = True,
nh3_emis: bool = True,
nox_emis: bool = True,
pm2_5_emis: bool = True,
pm5_emis: bool = True,
pm10_emis: bool = True,
op1_emis: bool = True,
op2_emis: bool = True,
op3_emis: bool = True,
op4_emis: bool = True,
op5_emis: bool = True,
so2_emis: bool = True,
nmvoc_emis: bool = True,
sts_by_group: Optional[bool] = None,
dispatch_gen: Optional[bool] = None,
renewable_gen: Optional[bool] = None,
psp_open_injection: Optional[bool] = None,
psp_open_withdrawal: Optional[bool] = None,
psp_open_level: Optional[bool] = None,
psp_closed_injection: Optional[bool] = None,
psp_closed_withdrawal: Optional[bool] = None,
psp_closed_level: Optional[bool] = None,
pondage_injection: Optional[bool] = None,
pondage_withdrawal: Optional[bool] = None,
pondage_level: Optional[bool] = None,
battery_injection: Optional[bool] = None,
battery_withdrawal: Optional[bool] = None,
battery_level: Optional[bool] = None,
other1_injection: Optional[bool] = None,
other1_withdrawal: Optional[bool] = None,
other1_level: Optional[bool] = None,
other2_injection: Optional[bool] = None,
other2_withdrawal: Optional[bool] = None,
other2_level: Optional[bool] = None,
other3_injection: Optional[bool] = None,
other3_withdrawal: Optional[bool] = None,
other3_level: Optional[bool] = None,
other4_injection: Optional[bool] = None,
other4_withdrawal: Optional[bool] = None,
other4_level: Optional[bool] = None,
other5_injection: Optional[bool] = None,
other5_withdrawal: Optional[bool] = None,
other5_level: Optional[bool] = None,
misc_dtg_2: Optional[bool] = None,
misc_dtg_3: Optional[bool] = None,
misc_dtg_4: Optional[bool] = None,
wind_offshore: Optional[bool] = None,
wind_onshore: Optional[bool] = None,
solar_concrt: Optional[bool] = None,
solar_pv: Optional[bool] = None,
solar_rooft: Optional[bool] = None,
renw_1: Optional[bool] = None,
renw_2: Optional[bool] = None,
renw_3: Optional[bool] = None,
renw_4: Optional[bool] = None,
solar: Optional[bool] = None,
nuclear: Optional[bool] = None,
lignite: Optional[bool] = None,
coal: Optional[bool] = None,
gas: Optional[bool] = None,
oil: Optional[bool] = None,
mix_fuel: Optional[bool] = None,
misc_dtg: Optional[bool] = None,
)
Thematic trimming allows to disable output columns that are not needed for future post-processing. Hence reducing the output size of the simulator.
This class contains all the possible output column names and whether to enable it or not.
By default all outputs common to versions < 9.1 and >= 9.1 are enabled.
Attributes:
-
ov_cost(bool) –Overall cost = operating cost + unsupplied cost + spilled cost + hydro cost.
-
op_cost(bool) –Operating cost = proportional costs + non-proportional costs.
-
mrg_price(bool) –Locational marginal price (overall economic effect of a local 1MW load increase).
-
co2_emis(bool) –Amount of \(\ce{CO2}\) emitted by all dispatchable thermal plants.
-
dtg_by_plant(bool) –Dispatchable thermal generation for any active thermal cluster.
-
balance(bool) –Overall import/export balance of the area (positive value: export).
-
row_bal(bool) –Import/export with areas outside the modeled system (positive value: import). Value identical to that defined under the same name in the "Misc Gen" input section.
-
psp(bool) –User-defined settings for pumping and subsequent generating.
-
misc_ndg(bool) –Miscellaneous non dispatchable generation.
-
load(bool) –Demand including demand side management (DSM) potential if relevant.
-
h_ror(bool) –Hydro generation, run-of-river share.
-
wind(bool) –Wind generation (only when using aggregated Renewable generation modeling).
-
h_stor(bool) –Power generated from energy storage units (typically: Hydro reservoir).
-
h_pump(bool) –Power absorbed by energy storage units (typically: PSP pumps consumption).
-
h_lev(bool) –Energy level remaining in storage units (percentage of reservoir size).
-
h_infl(bool) –External input to the energy storage units (typically: natural inflows).
-
h_ovfl(bool) –Wasted natural inflow overflowing from an already full energy storage unit.
-
h_val(bool) –Marginal value of stored energy (typically: shadow water value)
-
h_cost(bool) –Expenses/income brought by energy storage actions (
h_stor,h_pump). -
unsp_enrg(bool) –Unsupplied energy: adequacy indicator (Expected Energy Not ServedEENS).
-
spil_enrg(bool) –Unsupplied enery after curtailment sharing rule (CSR) namely demand that cannot be satisfied.
-
lold(bool) –Loss of load duration: adequacy indicator (length of shortfalls).
-
lolp(bool) –Loss of Load probability: adequacy indicator. Probability of at least one hour of shortfall within the considered period, without normalization by the duration of the considered period.
-
avl_dtg(bool) –Available dispatchable thermal generation: sum of available power over all plants.
-
dtg_mrg(bool) –Dispatchable thermal generation : avl_dtg - sum of all dispatched thermal generation.
-
max_mrg(bool) –Maximum margin: operational margin obtained if the hydro storage energy of the week were used to maximise margins instead of minimizing costs.
-
np_cost(bool) –Non-proportional costs of the dispatchable plants (start-up and fixed costs).
-
np_cost_by_plant(bool) –Non-proportional costs of the dispatchable plants (start-up and fixed costs), but by dispatchable plant.
-
nodu(bool) –Number of dispatched units.
-
nodu_by_plant(bool) –Number of dispatched units by plant.
-
flow_lin(bool) –Flow (signed + from upstream to downstream) assessed by the linear optimization. These flows follow Kirchhoff's law only if these laws have been explicitly enforced by the means of suitable binding constraints.
-
ucap_lin(bool) –Used capacity: absolute value of
flow_lin. This indicator may be of interest to differentiate the behavior of interconnectors showing low average flows: in some cases this may indicate that the line is little used, while in others this may be the outcome of high symmetric flows. -
loop_flow(bool) –Flow circulating through the grid when all areas have a zero import/export balance. This flow, to be put down to the simplification of the real grid, is not subject to hurdle costs in the course of the optimization.
-
flow_quad(bool) –Flow computed anew, starting from the linear optimum, by minimizing a quadratic function equivalent to an amount of Joule losses, while staying within the transmission capacity limits. This calculation uses for this purpose the impedances found in the "Links" Input data. If congestions occur on the grid, these results are not equivalent to those of a DC load flow.
-
cong_fee_alg(bool) –Algebraic congestion rent = linear flow x (downstream price - upstream price).
-
cong_fee_abs(bool) –Absolute congestion rent = linear flow x abs(downstream price - upstream price).
-
marg_cost(bool) –Decrease of the system's overall cost that would be brought by the optimal use of an additional 1 MW transmission capacity (in both directions).
-
cong_prob_plus(bool) –Up>Dwn Congestion probability = (NC+) / (total number of MC years) with: NC+ = number of years during which the interconnection was congested in the Up>Dwn way for any length of time within the time frame relevant with the file.
-
cong_prob_minus(bool) –Dwn>Up Congestion probability = (NC-) / (total number of MC years) with: NC- = number of years during which the interconnection was congested in the Dwn>Up way for any length of time within the time frame relevant with the file.
-
hurdle_cost(bool) – -
res_generation_by_plant(bool) –For any active renewable cluster, its production (necessarily must-run). Only when using clustered Renewable generation modeling.
-
dens(bool) –Domestic energy not supplied: the difference between the local production capabilities of an area and its local load. Please note that this output variable is only available in the economy mode, if adequacy patch is activated and the area the output variable belongs to is inside the adequacy patch domain
-
profit_by_plant(bool) –Net profit of the cluster in euros: (
mrg_price- marginal cost of the cluster) * (dispatchable production of the cluster). -
sts_inj_by_plant(bool) –Short-term storage injection by plant.
-
sts_withdrawal_by_plant(bool) –Short-term storage withdrawal by plant.
-
sts_lvl_by_plant(bool) –Short-term storage level by plant.
-
sts_cashflow_by_cluster(bool) –Short-term storage cashflow by cluster.
-
npcap_hours(bool) –Near price cap hours.
-
bc_marg_cost(bool) –Binding constraint marginal cost.
-
lmr_viol(bool) –Local matching rule violation after the Antares Simulation as defined by the adequacy patch. Please note that this output variable is only available in the economy mode, if adequacy patch is activated and the area the output variable belongs to is inside the adequacy patch domain.
-
dtg_mrg_csr(bool) –dtg_mrgafter curtailment sharing rule. -
nh3_emis(bool) –Amount of \(\ce{NH3}\) emitted by all dispatchable thermal plants.
-
nox_emis(bool) –Amount of \(\ce{NOx}\) emitted by all dispatchable thermal plants.
-
pm2_5_emis(bool) –Amount of \(\ce{PM_{2.5}}\) emitted by all dispatchable thermal plants.
-
pm5_emis(bool) –Amount of \(\ce{PM5}\) emitted by all dispatchable thermal plants.
-
pm10_emis(bool) –Amount of \(\ce{PM10}\) emitted by all dispatchable thermal plants.
-
op1_emis(bool) –Amount of other polluant 1 emitted by all dispatchable thermal plants.
-
op2_emis(bool) –Amount of other polluant 2 emitted by all dispatchable thermal plants.
-
op3_emis(bool) –Amount of other polluant 3 emitted by all dispatchable thermal plants.
-
op4_emis(bool) –Amount of other polluant 4 emitted by all dispatchable thermal plants.
-
op5_emis(bool) –Amount of other polluant 5 emitted by all dispatchable thermal plants.
-
so2_emis(bool) –Amount of \(\ce{SO2}\) emitted by all dispatchable thermal plants.
-
nmvoc_emis(bool) –Amount of \(\ce{NMVOC}\) emitted by all dispatchable thermal plants.
-
sts_by_group(Optional[bool]) –Added since v9.1 Short-term storage by group
-
dispatch_gen(Optional[bool]) –Added since v9.3 Dispatchable generation.
-
renewable_gen(Optional[bool]) –Added since v9.3 Renewable generation.
-
psp_open_injection(Optional[bool]) –Removed since v9.1
-
psp_open_withdrawal(Optional[bool]) –Removed since v9.1
-
psp_open_level(Optional[bool]) –Removed since v9.1
-
psp_closed_injection(Optional[bool]) –Removed since v9.1
-
psp_closed_withdrawal(Optional[bool]) –Removed since v9.1
-
psp_closed_level(Optional[bool]) –Removed since v9.1
-
pondage_injection(Optional[bool]) –Removed since v9.1
-
pondage_withdrawal(Optional[bool]) –Removed since v9.1
-
pondage_level(Optional[bool]) –Removed since v9.1
-
battery_injection(Optional[bool]) –Removed since v9.1
-
battery_withdrawal(Optional[bool]) –Removed since v9.1
-
battery_level(Optional[bool]) –Removed since v9.1
-
other1_injection(Optional[bool]) –Removed since v9.1
-
other1_withdrawal(Optional[bool]) –Removed since v9.1
-
other1_level(Optional[bool]) –Removed since v9.1
-
other2_injection(Optional[bool]) –Removed since v9.1
-
other2_withdrawal(Optional[bool]) –Removed since v9.1
-
other2_level(Optional[bool]) –Removed since v9.1
-
other3_injection(Optional[bool]) –Removed since v9.1
-
other3_withdrawal(Optional[bool]) –Removed since v9.1
-
other3_level(Optional[bool]) –Removed since v9.1
-
other4_injection(Optional[bool]) –Removed since v9.1
-
other4_withdrawal(Optional[bool]) –Removed since v9.1
-
other4_level(Optional[bool]) –Removed since v9.1
-
other5_injection(Optional[bool]) –Removed since v9.1
-
other5_withdrawal(Optional[bool]) –Removed since v9.1
-
other5_level(Optional[bool]) –Removed since v9.1
-
misc_dtg_2(Optional[bool]) –Removed since v9.3 Overall gen. of disp. thermal clusters using other fuels.
-
misc_dtg_3(Optional[bool]) –Removed since v9.3 Overall gen. of disp. thermal clusters using other fuels.
-
misc_dtg_4(Optional[bool]) –Removed since v9.3 Overall gen. of disp. thermal clusters using other fuels.
-
wind_offshore(Optional[bool]) –Removed since v9.3 Wind onshore generation (only when using clustered Renewable generation modeling).
-
wind_onshore(Optional[bool]) –Removed since v9.3 Wind onshore generation (only when using clustered Renewable generation modeling).
-
solar_concrt(Optional[bool]) –Removed since v9.3 Concentrated Solar Thermal generation (only when using clustered Renewable generation modeling).
-
solar_pv(Optional[bool]) –Removed since v9.3 Solar Photovoltaic generation (only when using clustered Renewable generation modeling).
-
solar_rooft(Optional[bool]) –Removed since v9.3 Rooftop Solar generation (only when using clustered Renewable generation modeling).
-
renw_1(Optional[bool]) –Removed since v9.3 Overall generation of other Renewable clusters (only when using clustered Renewable generation modeling).
-
renw_2(Optional[bool]) –Removed since v9.3 Overall generation of other Renewable clusters (only when using clustered Renewable generation modeling).
-
renw_3(Optional[bool]) –Removed since v9.3 Overall generation of other Renewable clusters (only when using clustered Renewable generation modeling).
-
renw_4(Optional[bool]) –Removed since v9.3 Overall generation of other Renewable clusters (only when using clustered Renewable generation modeling).
-
solar(Optional[bool]) –Removed since v9.3 Solar generation thermal and PV (only when using aggregated Renewable generation modeling).
-
nuclear(Optional[bool]) –Removed since v9.3 Overall generation of nuclear clusters.
-
lignite(Optional[bool]) –Removed since v9.3 Overall generation of dispatchable thermal clusters burning brown coal.
-
coal(Optional[bool]) –Removed since v9.3 Overall generation of dispatchable thermal clusters burning hard coal.
-
gas(Optional[bool]) –Removed since v9.3 Overall generation of dispatchable thermal clusters burning gas.
-
oil(Optional[bool]) –Removed since v9.3 Overall generation of dispatchable thermal clusters using petroleum products.
-
mix_fuel(Optional[bool]) –Removed since v9.3 Overall generation of dispatchable thermal clusters using a mix of the previous fuels.
-
misc_dtg(Optional[bool]) –Removed since v9.3Overall generation of dispatchable thermal clusters using other fuels
Methods:
-
all_disabled–Disable all outputs.
-
all_enabled–Enable all outputs.
-
all_reversed–Reverse all current settings.
all_disabled
all_disabled() -> ThematicTrimmingParameters
Disable all outputs.
Returns:
-
ThematicTrimmingParameters–All parameters are set to
False.
Source code in src/antares/craft/model/settings/thematic_trimming.py
all_enabled
all_enabled() -> ThematicTrimmingParameters
Enable all outputs.
Returns:
-
ThematicTrimmingParameters–All parameters are set to
Trueso all outputs will be generated.
Source code in src/antares/craft/model/settings/thematic_trimming.py
all_reversed
all_reversed() -> ThematicTrimmingParameters
Reverse all current settings.
Returns:
-
ThematicTrimmingParameters–All parameters are reversed.