Methods - Accessing fields
Index
EnergyModelsRenewableProducers.battery_lifeEnergyModelsRenewableProducers.constraint_dataEnergyModelsRenewableProducers.cyclesEnergyModelsRenewableProducers.degradationEnergyModelsRenewableProducers.discharge_levelEnergyModelsRenewableProducers.discharge_segmentsEnergyModelsRenewableProducers.electricity_resourceEnergyModelsRenewableProducers.level_inflowEnergyModelsRenewableProducers.level_initEnergyModelsRenewableProducers.level_minEnergyModelsRenewableProducers.max_normalized_flowEnergyModelsRenewableProducers.max_normalized_powerEnergyModelsRenewableProducers.opex_var_pumpEnergyModelsRenewableProducers.penaltyEnergyModelsRenewableProducers.power_levelEnergyModelsRenewableProducers.pq_curveEnergyModelsRenewableProducers.profileEnergyModelsRenewableProducers.reserve_downEnergyModelsRenewableProducers.reserve_upEnergyModelsRenewableProducers.resourceEnergyModelsRenewableProducers.stack_costEnergyModelsRenewableProducers.valueEnergyModelsRenewableProducers.vol_inflowEnergyModelsRenewableProducers.water_resource
Node
EnergyModelsRenewableProducers.constraint_data — Functionconstraint_data(n::EMB.Node)Returns vector of Data that are of type ScheduleConstraint.
NonDisRES
EnergyModelsRenewableProducers.profile — Functionprofile(n::AbstractNonDisRES)
profile(n::AbstractNonDisRES, t)Returns the profile of a node n of type AbstractNonDisRES either as TimeProfile or in operational period t.
HydroStorage
EnergyModelsRenewableProducers.level_init — Functionlevel_init(n::HydroStorage)
level_init(n::HydroStorage, t)Returns the initial level of a node n of type HydroStorage either as TimeProfile or in operational period t.
EnergyModelsRenewableProducers.level_inflow — Functionlevel_inflow(n::HydroStorage)
level_inflow(n::HydroStorage, t)Returns the inflow to a node n of type HydroStorage either as TimeProfile or in operational period t.
EnergyModelsRenewableProducers.level_min — Functionlevel_min(n::HydroStorage)
level_min(n::HydroStorage, t)Returns the minimum level of a node n of type HydroStorage either as TimeProfile or in operational period t.
PumpedHydroStor
EnergyModelsRenewableProducers.opex_var_pump — Functionopex_var_pump(n::PumpedHydroStor)
opex_var_pump(n::PumpedHydroStor, t)Returns the variable OPEX of a node n of type PumpedHydroStor related to pumping either as TimeProfile or in operational period t.
HydroReservoir
EnergyModelsRenewableProducers.max_normalized_power — Functionmax_normalized_power(n::HydroUnit)Returns the maximum power as a fraction of the capacity of HydroUnit n based on the pq_curve input.
EnergyModelsRenewableProducers.max_normalized_flow — Functionmax_normalized_flow(n::HydroUnit)Returns the maximum flow as a fraction of the capacity of HydroUnit n based on the pq_curve input.
EnergyModelsRenewableProducers.vol_inflow — Functionvol_inflow(n::HydroReservoir)
vol_inflow(n::HydroReservoir, t)Returns the inflow to a HydroReservoir n either as TimeProfile or in operational period t.
HydroUnit
EnergyModelsRenewableProducers.pq_curve — Functionpq_curve(n::HydroUnit)Returns the resources in the PQ-curve of a HydroUnit n.
EnergyModelsRenewableProducers.water_resource — Functionwater_resource(n::HydroUnit)Returns the resource of the water_resource field of a HydroUnit n.
EnergyModelsRenewableProducers.electricity_resource — Functionelectricity_resource(n::HydroUnit)Returns the resource of the electricity_resource field of a HydroUnit n.
Battery fields
EnergyModelsRenewableProducers.battery_life — Functionbattery_life(n::AbstractBattery)Returns the AbstractBatteryLife type of AbstractBattery n.
EnergyModelsRenewableProducers.cycles — Functioncycles(n::AbstractBattery)Returns the maximum number of cycles of AbstractBattery n through calling its subfunction. If the battery_life is an AbstractBatteryLife, it will return nothing.
EnergyModelsRenewableProducers.degradation — Functiondegradation(n::AbstractBattery)Returns the degradation of the battery storage capacity at the end of its lifetime through calling its subfunction. If the battery_life is an AbstractBatteryLife, it will return nothing.
EnergyModelsRenewableProducers.stack_cost — Functionstack_cost(n::AbstractBattery)
stack_cost(n::AbstractBattery, t_inv::TS.AbstractStrategicPeriod)Returns the relative stack cost of the battery storage capacity for replacing the existing battery capacity as TimeProfile or in strategic period t_inv.
If the battery_life is an AbstractBatteryLife, it will return nothing.
EnergyModelsRenewableProducers.reserve_up — Functionreserve_up(n::ReserveBattery)Returns the instances used as reserve resources for adding capacity to the energy system.
EnergyModelsRenewableProducers.reserve_down — Functionreserve_down(n::ReserveBattery)Returns the instances used as reserve resources for removing capacity from the energy system.
Scheduling constraints
EnergyModelsRenewableProducers.resource — Functionresource(data::ScheduleConstraint)Returns the Resource type of a ScheduleConstraint.
EnergyModelsRenewableProducers.value — Functionvalue(data::ScheduleConstraint, t)Returns the value of a constraint data at operational period t.
EnergyModelsRenewableProducers.penalty — Functionpenalty(data::ScheduleConstraint, t)Returns the penalty value of constraint data at operational period t.
PqPoints
EnergyModelsRenewableProducers.discharge_segments — Functiondischarge_segments(pq_curve::PqPoints)Returns the range of segment indices for a PqPoints pq_curve.
EnergyModelsRenewableProducers.discharge_level — Functiondischarge_level(pq::PqPoints)
discharge_level(pq::PqPoints, i)Returns the discharge level of PqPoint pq as array or at index i.
EnergyModelsRenewableProducers.power_level — Functionpower_level(pq::PqPoints)
power_level(pq::PqPoints, i)Returns the power level of PqPoint pq as array or at index i.