new_modeling_toolkit.system.electric package
Subpackages
- new_modeling_toolkit.system.electric.resources package
- Submodules
- new_modeling_toolkit.system.electric.resources.flex_load module
FlexLoadResource
adjacency
allow_inter_period_sharing
annual_energy_policies
annualized_capital_cost
annualized_fixed_om_cost
annualized_storage_capital_cost
annualized_storage_fixed_om_cost
asset_groups
attr_path
build_year
caiso_tx_constraints
can_build_new
can_retire
charging_efficiency
charging_efficiency__type
class_name
cumulative_retired_capacity
cumulative_retired_storage_capacity
custom_constraints
discharging_efficiency
discharging_efficiency__type
duration
duration_constraint
elcc_surfaces
emissions_policies
energy_budget_annual
energy_budget_daily
energy_budget_monthly
erm_policies
hourly_energy_policies
include
initial_committed_units
integer_build_increment
max_annual_calls
max_call_duration
max_daily_calls
max_monthly_calls
mean_time_to_repair
min_down_time
min_operational_capacity
min_stable_level
min_up_time
name
operational_capacity
operational_storage_capacity
outage_distributions
outage_profile
outage_profile__type
parasitic_loss
physical_lifetime
planned_capacity
potential
power_input_max
power_input_max__type
power_input_min
power_input_min__type
power_output_max
power_output_max__type
power_output_min
power_output_min__type
prm_policies
production_tax_credit
ptc_term
ramp_rate_1_hour
ramp_rate_2_hour
ramp_rate_3_hour
ramp_rate_4_hour
random_seed
reserves
resource_groups
retired_capacity
retired_storage_capacity
selected_capacity
selected_storage_capacity
shift_direction
shutdown_cost
start_cost
state_of_charge_min
stochastic_outage_rate
unit_commitment_mode
unit_size
variable_cost_power_input
variable_cost_power_output
vintage_parent_group
zones
update_duration_default()
SAVE_PATH
FlexLoadResourceGroup
FlexLoadShiftDirection
- new_modeling_toolkit.system.electric.resources.generic module
GenericResource
allow_inter_period_sharing
annual_energy_policies
annualized_capital_cost
annualized_fixed_om_cost
asset_groups
attr_path
build_year
caiso_tx_constraints
can_build_new
can_retire
class_name
cumulative_retired_capacity
custom_constraints
elcc_surfaces
emissions_policies
energy_budget_annual
energy_budget_daily
energy_budget_monthly
erm_policies
hourly_energy_policies
include
integer_build_increment
mean_time_to_repair
min_operational_capacity
name
operational_capacity
outage_distributions
outage_profile
outage_profile__type
physical_lifetime
planned_capacity
potential
power_output_max
power_output_max__type
power_output_min
power_output_min__type
prm_policies
production_tax_credit
ptc_term
ramp_rate_1_hour
ramp_rate_2_hour
ramp_rate_3_hour
ramp_rate_4_hour
random_seed
reserves
resource_groups
retired_capacity
selected_capacity
stochastic_outage_rate
variable_cost_power_output
vintage_parent_group
zones
clear_calculated_properties()
get_ramp_MW()
revalidate()
SAVE_PATH
annual_results_column_order
has_energy_budget
outage_distribution
pmax_profile
pmin_profile
production_tax_credit_ts
resource_group
results_reporting_category
results_reporting_folder
scaled_annual_energy_budget
scaled_daily_energy_budget
scaled_monthly_energy_budget
scaled_pmax_profile
scaled_pmin_profile
GenericResourceGroup
aggregate_operations
allow_inter_period_sharing
annual_energy_policies
annualized_capital_cost
annualized_fixed_om_cost
asset_groups
assets
attr_path
build_year
caiso_tx_constraints
can_build_new
can_retire
class_name
cumulative_potential
cumulative_retired_capacity
custom_constraints
elcc_surfaces
emissions_policies
energy_budget_annual
energy_budget_daily
energy_budget_monthly
erm_policies
hourly_energy_policies
include
integer_build_increment
mean_time_to_repair
min_cumulative_new_build
min_operational_capacity
name
operational_capacity
outage_distributions
outage_profile
outage_profile__type
physical_lifetime
planned_capacity
potential
power_output_max
power_output_max__type
power_output_min
power_output_min__type
prm_policies
production_tax_credit
ptc_term
ramp_rate_1_hour
ramp_rate_2_hour
ramp_rate_3_hour
ramp_rate_4_hour
random_seed
reserves
resource_groups
retired_capacity
selected_capacity
stochastic_outage_rate
variable_cost_power_output
vintage_parent_group
vintages_to_construct
zones
model_post_init()
revalidate()
SAVE_PATH
annual_results_column_order
list_of_resource_names
production_tax_credit_ts
results_reporting_category
- new_modeling_toolkit.system.electric.resources.hybrid module
HybridSolarResource
HybridSolarResourceGroup
HybridStorageResource
allow_inter_period_sharing
annual_energy_policies
annualized_capital_cost
annualized_fixed_om_cost
annualized_storage_capital_cost
annualized_storage_fixed_om_cost
asset_groups
attr_path
build_year
caiso_tx_constraints
can_build_new
can_retire
charging_efficiency
charging_efficiency__type
class_name
cumulative_retired_capacity
cumulative_retired_storage_capacity
custom_constraints
discharging_efficiency
discharging_efficiency__type
duration
duration_constraint
elcc_surfaces
emissions_policies
energy_budget_annual
energy_budget_daily
energy_budget_monthly
erm_policies
hourly_energy_policies
hybrid_variable_resources
include
integer_build_increment
mean_time_to_repair
min_operational_capacity
name
operational_capacity
operational_storage_capacity
outage_distributions
outage_profile
outage_profile__type
parasitic_loss
physical_lifetime
planned_capacity
potential
power_input_max
power_input_max__type
power_input_min
power_input_min__type
power_output_max
power_output_max__type
power_output_min
power_output_min__type
prm_policies
production_tax_credit
ptc_term
ramp_rate_1_hour
ramp_rate_2_hour
ramp_rate_3_hour
ramp_rate_4_hour
random_seed
reserves
resource_groups
retired_capacity
retired_storage_capacity
selected_capacity
selected_storage_capacity
state_of_charge_min
stochastic_outage_rate
variable_cost_power_input
variable_cost_power_output
vintage_parent_group
zones
revalidate()
SAVE_PATH
hybrid_erm_policy_linkage
hybrid_linkage
paired_variable_resource
HybridStorageResourceGroup
aggregate_operations
allow_inter_period_sharing
annual_energy_policies
annualized_capital_cost
annualized_fixed_om_cost
annualized_storage_capital_cost
annualized_storage_fixed_om_cost
asset_groups
assets
attr_path
build_year
caiso_tx_constraints
can_build_new
can_retire
charging_efficiency
charging_efficiency__type
class_name
cumulative_potential
cumulative_retired_capacity
cumulative_retired_storage_capacity
custom_constraints
discharging_efficiency
discharging_efficiency__type
duration
duration_constraint
elcc_surfaces
emissions_policies
energy_budget_annual
energy_budget_daily
energy_budget_monthly
erm_policies
hourly_energy_policies
hybrid_variable_resources
include
integer_build_increment
mean_time_to_repair
min_cumulative_new_build
min_operational_capacity
name
operational_capacity
operational_storage_capacity
outage_distributions
outage_profile
outage_profile__type
parasitic_loss
physical_lifetime
planned_capacity
potential
power_input_max
power_input_max__type
power_input_min
power_input_min__type
power_output_max
power_output_max__type
power_output_min
power_output_min__type
prm_policies
production_tax_credit
ptc_term
ramp_rate_1_hour
ramp_rate_2_hour
ramp_rate_3_hour
ramp_rate_4_hour
random_seed
reserves
resource_groups
retired_capacity
retired_storage_capacity
selected_capacity
selected_storage_capacity
state_of_charge_min
stochastic_outage_rate
variable_cost_power_input
variable_cost_power_output
vintage_parent_group
vintages_to_construct
zones
model_post_init()
SAVE_PATH
HybridVariableResource
allow_inter_period_sharing
annual_energy_policies
annualized_capital_cost
annualized_fixed_om_cost
asset_groups
attr_path
build_year
caiso_tx_constraints
can_build_new
can_retire
class_name
cumulative_retired_capacity
curtailable
curtailment_cost
custom_constraints
elcc_surfaces
emissions_policies
energy_budget_annual
energy_budget_daily
energy_budget_monthly
erm_policies
hourly_energy_policies
hybrid_storage_resources
include
integer_build_increment
mean_time_to_repair
min_operational_capacity
name
operational_capacity
outage_distributions
outage_profile
outage_profile__type
physical_lifetime
planned_capacity
potential
power_output_max
power_output_max__type
power_output_min
power_output_min__type
prm_policies
production_tax_credit
ptc_term
ramp_rate_1_hour
ramp_rate_2_hour
ramp_rate_3_hour
ramp_rate_4_hour
random_seed
reserves
resource_groups
retired_capacity
selected_capacity
stochastic_outage_rate
variable_cost_power_output
vintage_parent_group
zones
revalidate()
SAVE_PATH
hybrid_linkage
HybridVariableResourceGroup
aggregate_operations
allow_inter_period_sharing
annual_energy_policies
annualized_capital_cost
annualized_fixed_om_cost
asset_groups
assets
attr_path
build_year
caiso_tx_constraints
can_build_new
can_retire
class_name
cumulative_potential
cumulative_retired_capacity
curtailable
curtailment_cost
custom_constraints
elcc_surfaces
emissions_policies
energy_budget_annual
energy_budget_daily
energy_budget_monthly
erm_policies
hourly_energy_policies
hybrid_storage_resources
include
integer_build_increment
mean_time_to_repair
min_cumulative_new_build
min_operational_capacity
name
operational_capacity
outage_distributions
outage_profile
outage_profile__type
physical_lifetime
planned_capacity
potential
power_output_max
power_output_max__type
power_output_min
power_output_min__type
prm_policies
production_tax_credit
ptc_term
ramp_rate_1_hour
ramp_rate_2_hour
ramp_rate_3_hour
ramp_rate_4_hour
random_seed
reserves
resource_groups
retired_capacity
selected_capacity
stochastic_outage_rate
variable_cost_power_output
vintage_parent_group
vintages_to_construct
zones
model_post_init()
SAVE_PATH
HybridWindResource
HybridWindResourceGroup
- new_modeling_toolkit.system.electric.resources.hydro module
HydroResource
allow_inter_period_sharing
annual_energy_policies
annualized_capital_cost
annualized_fixed_om_cost
asset_groups
attr_path
build_year
caiso_tx_constraints
can_build_new
can_retire
class_name
cumulative_retired_capacity
curtailable
curtailment_cost
custom_constraints
elcc_surfaces
emissions_policies
energy_budget_annual
energy_budget_daily
energy_budget_monthly
erm_policies
hourly_energy_policies
include
integer_build_increment
mean_time_to_repair
min_operational_capacity
name
operational_capacity
outage_distributions
outage_profile
outage_profile__type
physical_lifetime
planned_capacity
potential
power_output_max
power_output_max__type
power_output_min
power_output_min__type
prm_policies
production_tax_credit
ptc_term
ramp_rate_1_hour
ramp_rate_2_hour
ramp_rate_3_hour
ramp_rate_4_hour
random_seed
reserves
resource_groups
retired_capacity
selected_capacity
stochastic_outage_rate
variable_cost_power_output
vintage_parent_group
zones
revalidate()
SAVE_PATH
HydroResourceGroup
aggregate_operations
allow_inter_period_sharing
annual_energy_policies
annualized_capital_cost
annualized_fixed_om_cost
asset_groups
assets
attr_path
build_year
caiso_tx_constraints
can_build_new
can_retire
class_name
cumulative_potential
cumulative_retired_capacity
curtailable
curtailment_cost
custom_constraints
elcc_surfaces
emissions_policies
energy_budget_annual
energy_budget_daily
energy_budget_monthly
erm_policies
hourly_energy_policies
include
integer_build_increment
mean_time_to_repair
min_cumulative_new_build
min_operational_capacity
name
operational_capacity
outage_distributions
outage_profile
outage_profile__type
physical_lifetime
planned_capacity
potential
power_output_max
power_output_max__type
power_output_min
power_output_min__type
prm_policies
production_tax_credit
ptc_term
ramp_rate_1_hour
ramp_rate_2_hour
ramp_rate_3_hour
ramp_rate_4_hour
random_seed
reserves
resource_groups
retired_capacity
selected_capacity
stochastic_outage_rate
variable_cost_power_output
vintage_parent_group
vintages_to_construct
zones
model_post_init()
revalidate()
SAVE_PATH
- new_modeling_toolkit.system.electric.resources.shed_dr module
ShedDrResource
allow_inter_period_sharing
annual_energy_policies
annualized_capital_cost
annualized_fixed_om_cost
asset_groups
attr_path
build_year
caiso_tx_constraints
can_build_new
can_retire
class_name
cumulative_retired_capacity
custom_constraints
elcc_surfaces
emissions_policies
energy_budget_annual
energy_budget_daily
energy_budget_monthly
erm_policies
hourly_energy_policies
include
initial_committed_units
integer_build_increment
max_annual_calls
max_call_duration
max_daily_calls
max_monthly_calls
mean_time_to_repair
min_down_time
min_operational_capacity
min_stable_level
min_up_time
name
operational_capacity
outage_distributions
outage_profile
outage_profile__type
physical_lifetime
planned_capacity
potential
power_output_max
power_output_max__type
power_output_min
power_output_min__type
prm_policies
production_tax_credit
ptc_term
ramp_rate_1_hour
ramp_rate_2_hour
ramp_rate_3_hour
ramp_rate_4_hour
random_seed
reserves
resource_groups
retired_capacity
selected_capacity
shutdown_cost
start_cost
stochastic_outage_rate
unit_commitment_mode
unit_size
variable_cost_power_output
vintage_parent_group
zones
SAVE_PATH
ShedDrResourceGroup
- new_modeling_toolkit.system.electric.resources.storage module
StorageDurationConstraint
StorageResource
allow_inter_period_sharing
annual_energy_policies
annualized_capital_cost
annualized_fixed_om_cost
annualized_storage_capital_cost
annualized_storage_fixed_om_cost
asset_groups
attr_path
build_year
caiso_tx_constraints
can_build_new
can_retire
charging_efficiency
charging_efficiency__type
class_name
cumulative_retired_capacity
cumulative_retired_storage_capacity
custom_constraints
discharging_efficiency
discharging_efficiency__type
duration
duration_constraint
elcc_surfaces
emissions_policies
energy_budget_annual
energy_budget_daily
energy_budget_monthly
erm_policies
hourly_energy_policies
include
integer_build_increment
mean_time_to_repair
min_operational_capacity
name
operational_capacity
operational_storage_capacity
outage_distributions
outage_profile
outage_profile__type
parasitic_loss
physical_lifetime
planned_capacity
potential
power_input_max
power_input_max__type
power_input_min
power_input_min__type
power_output_max
power_output_max__type
power_output_min
power_output_min__type
prm_policies
production_tax_credit
ptc_term
ramp_rate_1_hour
ramp_rate_2_hour
ramp_rate_3_hour
ramp_rate_4_hour
random_seed
reserves
resource_groups
retired_capacity
retired_storage_capacity
selected_capacity
selected_storage_capacity
state_of_charge_min
stochastic_outage_rate
variable_cost_power_input
variable_cost_power_output
vintage_parent_group
zones
apply_parasitic_loss()
check_if_operationally_equal()
clear_calculated_properties()
revalidate()
save_capacity_expansion_results()
save_cumulative_retired_storage_capacity()
save_operational_storage_capacity()
save_retired_storage_capacity()
save_selected_storage_capacity()
SAVE_PATH
imax_profile
imin_profile
planned_storage_capacity
scaled_SOC_max_profile
scaled_imax_profile
scaled_imin_profile
StorageResourceGroup
aggregate_operations
allow_inter_period_sharing
annual_energy_policies
annualized_capital_cost
annualized_fixed_om_cost
annualized_storage_capital_cost
annualized_storage_fixed_om_cost
asset_groups
assets
attr_path
build_year
caiso_tx_constraints
can_build_new
can_retire
charging_efficiency
charging_efficiency__type
class_name
cumulative_potential
cumulative_retired_capacity
cumulative_retired_storage_capacity
custom_constraints
discharging_efficiency
discharging_efficiency__type
duration
duration_constraint
elcc_surfaces
emissions_policies
energy_budget_annual
energy_budget_daily
energy_budget_monthly
erm_policies
hourly_energy_policies
include
integer_build_increment
mean_time_to_repair
min_cumulative_new_build
min_operational_capacity
name
operational_capacity
operational_storage_capacity
outage_distributions
outage_profile
outage_profile__type
parasitic_loss
physical_lifetime
planned_capacity
potential
power_input_max
power_input_max__type
power_input_min
power_input_min__type
power_output_max
power_output_max__type
power_output_min
power_output_min__type
prm_policies
production_tax_credit
ptc_term
ramp_rate_1_hour
ramp_rate_2_hour
ramp_rate_3_hour
ramp_rate_4_hour
random_seed
reserves
resource_groups
retired_capacity
retired_storage_capacity
selected_capacity
selected_storage_capacity
state_of_charge_min
stochastic_outage_rate
variable_cost_power_input
variable_cost_power_output
vintage_parent_group
vintages_to_construct
zones
model_post_init()
revalidate()
SAVE_PATH
- new_modeling_toolkit.system.electric.resources.thermal module
ThermalResource
allow_inter_period_sharing
annual_energy_policies
annualized_capital_cost
annualized_fixed_om_cost
asset_groups
attr_path
build_year
caiso_tx_constraints
can_build_new
can_retire
candidate_fuels
class_name
cumulative_retired_capacity
custom_constraints
elcc_surfaces
emissions_policies
energy_budget_annual
energy_budget_daily
energy_budget_monthly
erm_policies
fuel_burn_slope
hourly_energy_policies
include
integer_build_increment
mean_time_to_repair
min_operational_capacity
name
operational_capacity
outage_distributions
outage_profile
outage_profile__type
physical_lifetime
planned_capacity
potential
power_output_max
power_output_max__type
power_output_min
power_output_min__type
prm_policies
production_tax_credit
ptc_term
ramp_rate_1_hour
ramp_rate_2_hour
ramp_rate_3_hour
ramp_rate_4_hour
random_seed
reserves
resource_groups
retired_capacity
selected_capacity
stochastic_outage_rate
variable_cost_power_output
vintage_parent_group
zones
revalidate()
SAVE_PATH
fuel_names_string
ThermalResourceGroup
aggregate_operations
allow_inter_period_sharing
annual_energy_policies
annualized_capital_cost
annualized_fixed_om_cost
asset_groups
assets
attr_path
build_year
caiso_tx_constraints
can_build_new
can_retire
candidate_fuels
class_name
cumulative_potential
cumulative_retired_capacity
custom_constraints
elcc_surfaces
emissions_policies
energy_budget_annual
energy_budget_daily
energy_budget_monthly
erm_policies
fuel_burn_slope
hourly_energy_policies
include
integer_build_increment
mean_time_to_repair
min_cumulative_new_build
min_operational_capacity
name
operational_capacity
outage_distributions
outage_profile
outage_profile__type
physical_lifetime
planned_capacity
potential
power_output_max
power_output_max__type
power_output_min
power_output_min__type
prm_policies
production_tax_credit
ptc_term
ramp_rate_1_hour
ramp_rate_2_hour
ramp_rate_3_hour
ramp_rate_4_hour
random_seed
reserves
resource_groups
retired_capacity
selected_capacity
stochastic_outage_rate
variable_cost_power_output
vintage_parent_group
vintages_to_construct
zones
model_post_init()
revalidate()
SAVE_PATH
ThermalUnitCommitmentResource
addition_to_load
allow_inter_period_sharing
annual_energy_policies
annualized_capital_cost
annualized_fixed_om_cost
asset_groups
attr_path
build_year
caiso_tx_constraints
can_build_new
can_retire
candidate_fuels
class_name
cumulative_retired_capacity
custom_constraints
elcc_surfaces
emissions_policies
energy_budget_annual
energy_budget_daily
energy_budget_monthly
erm_policies
fuel_burn_intercept
fuel_burn_slope
hourly_energy_policies
include
initial_committed_units
integer_build_increment
mean_time_to_repair
min_down_time
min_operational_capacity
min_stable_level
min_up_time
name
operational_capacity
outage_distributions
outage_profile
outage_profile__type
physical_lifetime
planned_capacity
potential
power_output_max
power_output_max__type
power_output_min
power_output_min__type
prm_policies
production_tax_credit
ptc_term
ramp_rate_1_hour
ramp_rate_2_hour
ramp_rate_3_hour
ramp_rate_4_hour
random_seed
reserves
resource_groups
retired_capacity
selected_capacity
shutdown_cost
start_cost
start_fuel_use
stochastic_outage_rate
unit_commitment_mode
unit_size
variable_cost_power_output
vintage_parent_group
zones
revalidate()
SAVE_PATH
ThermalUnitCommitmentResourceGroup
- new_modeling_toolkit.system.electric.resources.unit_commitment module
- new_modeling_toolkit.system.electric.resources.variable module
- Module contents
FlexLoadResource
adjacency
allow_inter_period_sharing
annual_energy_policies
annualized_capital_cost
annualized_fixed_om_cost
annualized_storage_capital_cost
annualized_storage_fixed_om_cost
asset_groups
attr_path
build_year
caiso_tx_constraints
can_build_new
can_retire
charging_efficiency
charging_efficiency__type
class_name
cumulative_retired_capacity
cumulative_retired_storage_capacity
custom_constraints
discharging_efficiency
discharging_efficiency__type
duration
duration_constraint
elcc_surfaces
emissions_policies
energy_budget_annual
energy_budget_daily
energy_budget_monthly
erm_policies
hourly_energy_policies
include
initial_committed_units
integer_build_increment
max_annual_calls
max_call_duration
max_daily_calls
max_monthly_calls
mean_time_to_repair
min_down_time
min_operational_capacity
min_stable_level
min_up_time
name
operational_capacity
operational_storage_capacity
outage_distributions
outage_profile
outage_profile__type
parasitic_loss
physical_lifetime
planned_capacity
potential
power_input_max
power_input_max__type
power_input_min
power_input_min__type
power_output_max
power_output_max__type
power_output_min
power_output_min__type
prm_policies
production_tax_credit
ptc_term
ramp_rate_1_hour
ramp_rate_2_hour
ramp_rate_3_hour
ramp_rate_4_hour
random_seed
reserves
resource_groups
retired_capacity
retired_storage_capacity
selected_capacity
selected_storage_capacity
shift_direction
shutdown_cost
start_cost
state_of_charge_min
stochastic_outage_rate
unit_commitment_mode
unit_size
variable_cost_power_input
variable_cost_power_output
vintage_parent_group
zones
update_duration_default()
SAVE_PATH
GenericResource
allow_inter_period_sharing
annual_energy_policies
annualized_capital_cost
annualized_fixed_om_cost
asset_groups
attr_path
build_year
caiso_tx_constraints
can_build_new
can_retire
class_name
cumulative_retired_capacity
custom_constraints
elcc_surfaces
emissions_policies
energy_budget_annual
energy_budget_daily
energy_budget_monthly
erm_policies
hourly_energy_policies
include
integer_build_increment
mean_time_to_repair
min_operational_capacity
name
operational_capacity
outage_distributions
outage_profile
outage_profile__type
physical_lifetime
planned_capacity
potential
power_output_max
power_output_max__type
power_output_min
power_output_min__type
prm_policies
production_tax_credit
ptc_term
ramp_rate_1_hour
ramp_rate_2_hour
ramp_rate_3_hour
ramp_rate_4_hour
random_seed
reserves
resource_groups
retired_capacity
selected_capacity
stochastic_outage_rate
variable_cost_power_output
vintage_parent_group
zones
clear_calculated_properties()
get_ramp_MW()
revalidate()
SAVE_PATH
annual_results_column_order
has_energy_budget
outage_distribution
pmax_profile
pmin_profile
production_tax_credit_ts
resource_group
results_reporting_category
results_reporting_folder
scaled_annual_energy_budget
scaled_daily_energy_budget
scaled_monthly_energy_budget
scaled_pmax_profile
scaled_pmin_profile
HybridSolarResource
allow_inter_period_sharing
annual_energy_policies
annualized_capital_cost
annualized_fixed_om_cost
asset_groups
attr_path
build_year
caiso_tx_constraints
can_build_new
can_retire
class_name
cumulative_retired_capacity
curtailable
curtailment_cost
custom_constraints
elcc_surfaces
emissions_policies
energy_budget_annual
energy_budget_daily
energy_budget_monthly
erm_policies
hourly_energy_policies
hybrid_storage_resources
include
integer_build_increment
mean_time_to_repair
min_operational_capacity
name
operational_capacity
outage_distributions
outage_profile
outage_profile__type
physical_lifetime
planned_capacity
potential
power_output_max
power_output_max__type
power_output_min
power_output_min__type
prm_policies
production_tax_credit
ptc_term
ramp_rate_1_hour
ramp_rate_2_hour
ramp_rate_3_hour
ramp_rate_4_hour
random_seed
reserves
resource_groups
retired_capacity
selected_capacity
stochastic_outage_rate
variable_cost_power_output
vintage_parent_group
zones
SAVE_PATH
HybridStorageResource
allow_inter_period_sharing
annual_energy_policies
annualized_capital_cost
annualized_fixed_om_cost
annualized_storage_capital_cost
annualized_storage_fixed_om_cost
asset_groups
attr_path
build_year
caiso_tx_constraints
can_build_new
can_retire
charging_efficiency
charging_efficiency__type
class_name
cumulative_retired_capacity
cumulative_retired_storage_capacity
custom_constraints
discharging_efficiency
discharging_efficiency__type
duration
duration_constraint
elcc_surfaces
emissions_policies
energy_budget_annual
energy_budget_daily
energy_budget_monthly
erm_policies
hourly_energy_policies
hybrid_variable_resources
include
integer_build_increment
mean_time_to_repair
min_operational_capacity
name
operational_capacity
operational_storage_capacity
outage_distributions
outage_profile
outage_profile__type
parasitic_loss
physical_lifetime
planned_capacity
potential
power_input_max
power_input_max__type
power_input_min
power_input_min__type
power_output_max
power_output_max__type
power_output_min
power_output_min__type
prm_policies
production_tax_credit
ptc_term
ramp_rate_1_hour
ramp_rate_2_hour
ramp_rate_3_hour
ramp_rate_4_hour
random_seed
reserves
resource_groups
retired_capacity
retired_storage_capacity
selected_capacity
selected_storage_capacity
state_of_charge_min
stochastic_outage_rate
variable_cost_power_input
variable_cost_power_output
vintage_parent_group
zones
revalidate()
SAVE_PATH
hybrid_erm_policy_linkage
hybrid_linkage
paired_variable_resource
HybridVariableResource
allow_inter_period_sharing
annual_energy_policies
annualized_capital_cost
annualized_fixed_om_cost
asset_groups
attr_path
build_year
caiso_tx_constraints
can_build_new
can_retire
class_name
cumulative_retired_capacity
curtailable
curtailment_cost
custom_constraints
elcc_surfaces
emissions_policies
energy_budget_annual
energy_budget_daily
energy_budget_monthly
erm_policies
hourly_energy_policies
hybrid_storage_resources
include
integer_build_increment
mean_time_to_repair
min_operational_capacity
name
operational_capacity
outage_distributions
outage_profile
outage_profile__type
physical_lifetime
planned_capacity
potential
power_output_max
power_output_max__type
power_output_min
power_output_min__type
prm_policies
production_tax_credit
ptc_term
ramp_rate_1_hour
ramp_rate_2_hour
ramp_rate_3_hour
ramp_rate_4_hour
random_seed
reserves
resource_groups
retired_capacity
selected_capacity
stochastic_outage_rate
variable_cost_power_output
vintage_parent_group
zones
revalidate()
SAVE_PATH
hybrid_linkage
HybridWindResource
allow_inter_period_sharing
annual_energy_policies
annualized_capital_cost
annualized_fixed_om_cost
asset_groups
attr_path
build_year
caiso_tx_constraints
can_build_new
can_retire
class_name
cumulative_retired_capacity
curtailable
curtailment_cost
custom_constraints
elcc_surfaces
emissions_policies
energy_budget_annual
energy_budget_daily
energy_budget_monthly
erm_policies
hourly_energy_policies
hybrid_storage_resources
include
integer_build_increment
mean_time_to_repair
min_operational_capacity
name
operational_capacity
outage_distributions
outage_profile
outage_profile__type
physical_lifetime
planned_capacity
potential
power_output_max
power_output_max__type
power_output_min
power_output_min__type
prm_policies
production_tax_credit
ptc_term
ramp_rate_1_hour
ramp_rate_2_hour
ramp_rate_3_hour
ramp_rate_4_hour
random_seed
reserves
resource_groups
retired_capacity
selected_capacity
stochastic_outage_rate
variable_cost_power_output
vintage_parent_group
zones
SAVE_PATH
HydroResource
allow_inter_period_sharing
annual_energy_policies
annualized_capital_cost
annualized_fixed_om_cost
asset_groups
attr_path
build_year
caiso_tx_constraints
can_build_new
can_retire
class_name
cumulative_retired_capacity
curtailable
curtailment_cost
custom_constraints
elcc_surfaces
emissions_policies
energy_budget_annual
energy_budget_daily
energy_budget_monthly
erm_policies
hourly_energy_policies
include
integer_build_increment
mean_time_to_repair
min_operational_capacity
name
operational_capacity
outage_distributions
outage_profile
outage_profile__type
physical_lifetime
planned_capacity
potential
power_output_max
power_output_max__type
power_output_min
power_output_min__type
prm_policies
production_tax_credit
ptc_term
ramp_rate_1_hour
ramp_rate_2_hour
ramp_rate_3_hour
ramp_rate_4_hour
random_seed
reserves
resource_groups
retired_capacity
selected_capacity
stochastic_outage_rate
variable_cost_power_output
vintage_parent_group
zones
revalidate()
SAVE_PATH
ShedDrResource
allow_inter_period_sharing
annual_energy_policies
annualized_capital_cost
annualized_fixed_om_cost
asset_groups
attr_path
build_year
caiso_tx_constraints
can_build_new
can_retire
class_name
cumulative_retired_capacity
custom_constraints
elcc_surfaces
emissions_policies
energy_budget_annual
energy_budget_daily
energy_budget_monthly
erm_policies
hourly_energy_policies
include
initial_committed_units
integer_build_increment
max_annual_calls
max_call_duration
max_daily_calls
max_monthly_calls
mean_time_to_repair
min_down_time
min_operational_capacity
min_stable_level
min_up_time
name
operational_capacity
outage_distributions
outage_profile
outage_profile__type
physical_lifetime
planned_capacity
potential
power_output_max
power_output_max__type
power_output_min
power_output_min__type
prm_policies
production_tax_credit
ptc_term
ramp_rate_1_hour
ramp_rate_2_hour
ramp_rate_3_hour
ramp_rate_4_hour
random_seed
reserves
resource_groups
retired_capacity
selected_capacity
shutdown_cost
start_cost
stochastic_outage_rate
unit_commitment_mode
unit_size
variable_cost_power_output
vintage_parent_group
zones
SAVE_PATH
StorageResource
allow_inter_period_sharing
annual_energy_policies
annualized_capital_cost
annualized_fixed_om_cost
annualized_storage_capital_cost
annualized_storage_fixed_om_cost
asset_groups
attr_path
build_year
caiso_tx_constraints
can_build_new
can_retire
charging_efficiency
charging_efficiency__type
class_name
cumulative_retired_capacity
cumulative_retired_storage_capacity
custom_constraints
discharging_efficiency
discharging_efficiency__type
duration
duration_constraint
elcc_surfaces
emissions_policies
energy_budget_annual
energy_budget_daily
energy_budget_monthly
erm_policies
hourly_energy_policies
include
integer_build_increment
mean_time_to_repair
min_operational_capacity
name
operational_capacity
operational_storage_capacity
outage_distributions
outage_profile
outage_profile__type
parasitic_loss
physical_lifetime
planned_capacity
potential
power_input_max
power_input_max__type
power_input_min
power_input_min__type
power_output_max
power_output_max__type
power_output_min
power_output_min__type
prm_policies
production_tax_credit
ptc_term
ramp_rate_1_hour
ramp_rate_2_hour
ramp_rate_3_hour
ramp_rate_4_hour
random_seed
reserves
resource_groups
retired_capacity
retired_storage_capacity
selected_capacity
selected_storage_capacity
state_of_charge_min
stochastic_outage_rate
variable_cost_power_input
variable_cost_power_output
vintage_parent_group
zones
apply_parasitic_loss()
check_if_operationally_equal()
clear_calculated_properties()
revalidate()
save_capacity_expansion_results()
save_cumulative_retired_storage_capacity()
save_operational_storage_capacity()
save_retired_storage_capacity()
save_selected_storage_capacity()
SAVE_PATH
imax_profile
imin_profile
planned_storage_capacity
scaled_SOC_max_profile
scaled_imax_profile
scaled_imin_profile
ThermalResource
allow_inter_period_sharing
annual_energy_policies
annualized_capital_cost
annualized_fixed_om_cost
asset_groups
attr_path
build_year
caiso_tx_constraints
can_build_new
can_retire
candidate_fuels
class_name
cumulative_retired_capacity
custom_constraints
elcc_surfaces
emissions_policies
energy_budget_annual
energy_budget_daily
energy_budget_monthly
erm_policies
fuel_burn_slope
hourly_energy_policies
include
integer_build_increment
mean_time_to_repair
min_operational_capacity
name
operational_capacity
outage_distributions
outage_profile
outage_profile__type
physical_lifetime
planned_capacity
potential
power_output_max
power_output_max__type
power_output_min
power_output_min__type
prm_policies
production_tax_credit
ptc_term
ramp_rate_1_hour
ramp_rate_2_hour
ramp_rate_3_hour
ramp_rate_4_hour
random_seed
reserves
resource_groups
retired_capacity
selected_capacity
stochastic_outage_rate
variable_cost_power_output
vintage_parent_group
zones
revalidate()
SAVE_PATH
fuel_names_string
ThermalUnitCommitmentResource
addition_to_load
allow_inter_period_sharing
annual_energy_policies
annualized_capital_cost
annualized_fixed_om_cost
asset_groups
attr_path
build_year
caiso_tx_constraints
can_build_new
can_retire
candidate_fuels
class_name
cumulative_retired_capacity
custom_constraints
elcc_surfaces
emissions_policies
energy_budget_annual
energy_budget_daily
energy_budget_monthly
erm_policies
fuel_burn_intercept
fuel_burn_slope
hourly_energy_policies
include
initial_committed_units
integer_build_increment
mean_time_to_repair
min_down_time
min_operational_capacity
min_stable_level
min_up_time
name
operational_capacity
outage_distributions
outage_profile
outage_profile__type
physical_lifetime
planned_capacity
potential
power_output_max
power_output_max__type
power_output_min
power_output_min__type
prm_policies
production_tax_credit
ptc_term
ramp_rate_1_hour
ramp_rate_2_hour
ramp_rate_3_hour
ramp_rate_4_hour
random_seed
reserves
resource_groups
retired_capacity
selected_capacity
shutdown_cost
start_cost
start_fuel_use
stochastic_outage_rate
unit_commitment_mode
unit_size
variable_cost_power_output
vintage_parent_group
zones
revalidate()
SAVE_PATH
UnitCommitmentResource
allow_inter_period_sharing
annual_energy_policies
annualized_capital_cost
annualized_fixed_om_cost
asset_groups
attr_path
build_year
caiso_tx_constraints
can_build_new
can_retire
class_name
cumulative_retired_capacity
custom_constraints
elcc_surfaces
emissions_policies
energy_budget_annual
energy_budget_daily
energy_budget_monthly
erm_policies
hourly_energy_policies
include
initial_committed_units
integer_build_increment
mean_time_to_repair
min_down_time
min_operational_capacity
min_stable_level
min_up_time
name
operational_capacity
outage_distributions
outage_profile
outage_profile__type
physical_lifetime
planned_capacity
potential
power_output_max
power_output_max__type
power_output_min
power_output_min__type
prm_policies
production_tax_credit
ptc_term
ramp_rate_1_hour
ramp_rate_2_hour
ramp_rate_3_hour
ramp_rate_4_hour
random_seed
reserves
resource_groups
retired_capacity
selected_capacity
shutdown_cost
start_cost
stochastic_outage_rate
unit_commitment_mode
unit_size
variable_cost_power_output
vintage_parent_group
zones
check_if_operationally_equal()
VariableResource
allow_inter_period_sharing
annual_energy_policies
annualized_capital_cost
annualized_fixed_om_cost
asset_groups
attr_path
build_year
caiso_tx_constraints
can_build_new
can_retire
class_name
cumulative_retired_capacity
curtailable
curtailment_cost
custom_constraints
elcc_surfaces
emissions_policies
energy_budget_annual
energy_budget_daily
energy_budget_monthly
erm_policies
hourly_energy_policies
include
integer_build_increment
mean_time_to_repair
min_operational_capacity
name
operational_capacity
outage_distributions
outage_profile
outage_profile__type
physical_lifetime
planned_capacity
potential
power_output_max
power_output_max__type
power_output_min
power_output_min__type
prm_policies
production_tax_credit
ptc_term
ramp_rate_1_hour
ramp_rate_2_hour
ramp_rate_3_hour
ramp_rate_4_hour
random_seed
reserves
resource_groups
retired_capacity
selected_capacity
stochastic_outage_rate
variable_cost_power_output
vintage_parent_group
zones
get_sampled_profile_cf()
scale_resource_profile()
update_resource_profiles()
SAVE_PATH
Submodules
new_modeling_toolkit.system.electric.elcc module
- class ELCCFacet
Bases:
Component
A single ELCC facet, representing a plane equation.
axis_0 is the intercept axis_1 and axis_2 are the βslopesβ
- Fields:
attr_path ()
axis_0 (new_modeling_toolkit.core.temporal.timeseries.NumericTimeseries | None)
axis_1 (new_modeling_toolkit.core.temporal.timeseries.NumericTimeseries | None)
axis_2 (new_modeling_toolkit.core.temporal.timeseries.NumericTimeseries | None)
axis_3 (new_modeling_toolkit.core.temporal.timeseries.NumericTimeseries | None)
class_name ()
include ()
name ()
surface (dict[str, new_modeling_toolkit.core.linkage.ELCCFacetToSurface])
- field axis_0: NumericTimeseries | None = None
- field axis_1: NumericTimeseries | None = None
- field axis_2: NumericTimeseries | None = None
- field axis_3: NumericTimeseries | None = None
- field surface: dict[str, ELCCFacetToSurface] = {}
- class ELCCSurface
Bases:
Component
- Fields:
- field assets: dict[str, AssetToELCC] = {}
- field attr_path: str | pathlib.Path | None = PosixPath('/home/docs/checkouts/readthedocs.org/user_builds/e3-resolve/checkouts/latest/docs/source')
the path to the attributes file
- field facets: dict[str, ELCCFacetToSurface] = {}
- field include: Annotated[bool, Metadata(category=FieldCategory.BUILD)] = True
Include component in system.
- Constraints:
category = FieldCategory.BUILD
units =
excel_short_title =
warning_bounds = (None, None)
show_year_headers = True
default_exclude = False
- field prm_policies: dict[str, ELCCReliabilityContribution] = {}
new_modeling_toolkit.system.electric.load_component module
- class Load
Bases:
Component
- Fields:
annual_energy_forecast (new_modeling_toolkit.core.temporal.timeseries.NumericTimeseries | None)
annual_energy_policies (dict[str, new_modeling_toolkit.core.linkage.AllToPolicy])
annual_peak_forecast (new_modeling_toolkit.core.temporal.timeseries.NumericTimeseries | None)
devices (dict[str, new_modeling_toolkit.core.linkage.Linkage])
emissions_policies (dict[str, new_modeling_toolkit.core.linkage.AllToPolicy])
energy_demand_subsectors (dict[str, new_modeling_toolkit.core.linkage.Linkage])
erm_policies (dict[str, new_modeling_toolkit.core.linkage.AllToPolicy])
hourly_energy_policies (dict[str, new_modeling_toolkit.core.linkage.AllToPolicy])
include (Annotated[bool, Metadata(category=FieldCategory.BUILD)])
model_year_profiles (dict[int, new_modeling_toolkit.core.temporal.timeseries.NumericTimeseries])
prm_policies (dict[str, new_modeling_toolkit.core.linkage.AllToPolicy])
profile (new_modeling_toolkit.core.temporal.timeseries.NumericTimeseries | None)
profile_model_years (new_modeling_toolkit.core.temporal.timeseries.NumericTimeseries | None)
reserves (dict[str, new_modeling_toolkit.core.linkage.LoadToReserve])
td_losses_adjustment (new_modeling_toolkit.core.temporal.timeseries.NumericTimeseries | None)
zones (dict[str, new_modeling_toolkit.core.linkage.LoadToZone])
- field annual_energy_forecast: NumericTimeseries | None = None
- Constraints:
category = FieldCategory.OPERATIONS
units = hour * megawatt
excel_short_title = Forecast
warning_bounds = (None, None)
show_year_headers = True
default_exclude = False
- field annual_energy_policies: dict[str, AllToPolicy] [Optional]
- field annual_peak_forecast: NumericTimeseries | None = None
- Constraints:
category = FieldCategory.OPERATIONS
units = megawatt
excel_short_title = Peak
warning_bounds = (None, None)
show_year_headers = True
default_exclude = False
- field attr_path: str | pathlib.Path | None = PosixPath('/home/docs/checkouts/readthedocs.org/user_builds/e3-resolve/checkouts/latest/docs/source')
the path to the attributes file
- field devices: dict[str, Linkage] [Optional]
- field emissions_policies: dict[str, AllToPolicy] [Optional]
- field energy_demand_subsectors: dict[str, Linkage] [Optional]
- field erm_policies: dict[str, AllToPolicy] [Optional]
- field hourly_energy_policies: dict[str, AllToPolicy] [Optional]
- field include: Annotated[bool, Metadata(category=FieldCategory.BUILD)] = True
Include component in system.
- Constraints:
category = FieldCategory.BUILD
units =
excel_short_title =
warning_bounds = (None, None)
show_year_headers = True
default_exclude = False
- field model_year_profiles: dict[int, NumericTimeseries] = {}
Model year profiles scaled to annual peak and/or annual energy forecasts
- field prm_policies: dict[str, AllToPolicy] [Optional]
- Constraints:
units =
excel_short_title =
warning_bounds = (None, None)
show_year_headers = True
linkage_order = to
default_exclude = False
- field profile: NumericTimeseries | None = None
Weather year(s) load profile to be scaled. Must have either weather year OR model year profile, but not both.
- Constraints:
category = FieldCategory.OPERATIONS
units =
excel_short_title = Profile
warning_bounds = (None, None)
show_year_headers = True
default_exclude = False
- field profile_model_years: NumericTimeseries | None = None
Model year(s) load profile to be scaled. Datetime index should include modeled years. Must have either weather year OR model year profile, but not both.
- Constraints:
category = FieldCategory.OPERATIONS
units =
excel_short_title = Modeled Year Profile
warning_bounds = (None, None)
show_year_headers = True
default_exclude = False
- field reserves: dict[str, LoadToReserve] = {}
- Constraints:
units =
excel_short_title =
warning_bounds = (None, None)
show_year_headers = True
linkage_order = to
default_exclude = False
- field scale_by_capacity: bool = False (alias 'scale_by_peak')
If true, calculate model year profiles by scaling profile to median annual peak
- field scale_by_energy: bool = False
If true, calculate model year profiles by scaling profile to mean annual energy
- field td_losses_adjustment: NumericTimeseries | None [Optional]
T&D loss adjustment to gross up to system-level loads. For example, a DER may be able to serve 8% more load (i.e., 1.08) than an equivalent bulk system resource due to T&D losses. Adjustment factor is directly multiplied against load (as opposed to 1 / (1 +
td_losses_adjustment
).- Constraints:
category = FieldCategory.OPERATIONS
units =
excel_short_title = T&D Factor
warning_bounds = (None, None)
show_year_headers = True
default_exclude = False
- field zones: dict[str, LoadToZone] = {}
- Constraints:
units =
excel_short_title =
warning_bounds = (None, None)
show_year_headers = True
linkage_order = to
default_exclude = False
- forecast_load(modeled_years: tuple[int, int], weather_years: tuple[int, int], custom_scalars: Series | None = None)
Calculate the scaling coefficient and scaling offset for the load series in order to scale them to any future between the first model year and last model year. The coefficient and offset is determine by the future peak load series and energy series, and the load scaling method defined by the user.
- Parameters:
modeled_years β tuple first model year to last model year
weather_years β tuple first weather year to last weather year (only used for profile_modeled_years)
custom_scalars β Optional series of scalars to be applied to annual energy forecast. Only used if scale_by_energy is true. Intended to ensure annual energy forecast is still true when weighted dispatch windows are applied.
Returns: Updated modeled_year_profile dict
- get_load(modeled_year: int, weather_year_timestamp: Timestamp)
Based on the model year, first find the future load series belonging to that model year. And based on the period and hour, query the specific hourly load for that hour in the model year. :param system: System.system. current power system :param modeled_year: int. model year being queried :param weather_year_timestamp: model hour being queried
Returns: int. load for the tp under query.
- resample_ts_attributes(modeled_years: tuple[int, int], weather_years: tuple[int, int], resample_weather_year_attributes=True, resample_non_weather_year_attributes=True)
Resample timeseries attributes to the default frequencies to make querying via slice_by_timepoint and slice_by_year more consistent later.
Downsample data by comparing against a βcorrect indexβ with the correct default_freq
If data start year > modeled start year, fill timeseries backward
Create a temporary timestamp for the first hour of the year after the modeled end year to make sure we have all the hours, minutes (e.g., 23:59:59) filled in in step (4)
Resample to fill in any data (particularly at end of timeseries) and drop temporary timestamp from (3)
- revalidate()
Abstract method to run additional validations after Linkage.announce_linkage_to_instances.
- static scale_load(profile: NumericTimeseries, to_peak: bool | float, to_energy: bool | float, td_losses_adjustment: float, leap_year: bool) NumericTimeseries
Scale timeseries by energy and/or median peak.
Scaling to energy assumes
to_energy
forecast value will match whether it is/is not a leap year. In other words, the energy forecast for a leap day includes an extra dayβs worth of energy.- Parameters:
profile β Hourly timeseries to be scaled
to_peak β Median annual peak to be scaled to
to_energy β Mean annual energy to be scaled to
td_losses_adjustment β T&D losses adjustment (simple scalar on load profile)
leap_year β If year being scaled to is a leap year (affecting energy scaling)
- Returns:
Scaled hourly timeseries
- Return type:
new_profile
new_modeling_toolkit.system.electric.reserve module
- class Reserve
Bases:
Component
- Fields:
custom_constraints (dict[str, new_modeling_toolkit.core.three_way_linkage.CustomConstraintLinkage])
direction (new_modeling_toolkit.system.electric.reserve.ReserveDirection)
include (Annotated[bool, Metadata(category=FieldCategory.BUILD)])
loads (dict[str, new_modeling_toolkit.core.linkage.LoadToReserve])
requirement (new_modeling_toolkit.core.temporal.timeseries.NumericTimeseries)
resources (dict[str, new_modeling_toolkit.core.linkage.ResourceToReserve])
zones (dict[str, new_modeling_toolkit.core.linkage.ReserveToZone])
- field attr_path: str | pathlib.Path | None = PosixPath('/home/docs/checkouts/readthedocs.org/user_builds/e3-resolve/checkouts/latest/docs/source')
the path to the attributes file
- field custom_constraints: dict[str, CustomConstraintLinkage] = {}
- Constraints:
units =
excel_short_title =
warning_bounds = (None, None)
show_year_headers = True
linkage_order = 3
default_exclude = True
- field direction: ReserveDirection [Required]
- field include: Annotated[bool, Metadata(category=FieldCategory.BUILD)] = True
Include component in system.
- Constraints:
category = FieldCategory.BUILD
units =
excel_short_title =
warning_bounds = (None, None)
show_year_headers = True
default_exclude = False
- field loads: dict[str, LoadToReserve] = {}
- Constraints:
units =
excel_short_title =
warning_bounds = (None, None)
show_year_headers = True
linkage_order = from
default_exclude = False
- field requirement: NumericTimeseries [Optional]
- field resources: dict[str, ResourceToReserve] = {}
- Constraints:
units =
excel_short_title =
warning_bounds = (None, None)
show_year_headers = True
linkage_order = from
default_exclude = False
- field zones: dict[str, ReserveToZone] = {}
- Constraints:
units =
excel_short_title =
warning_bounds = (None, None)
show_year_headers = True
linkage_order = to
default_exclude = False
- model_post_init(_ModelMetaclass__context: Any) None
We need to both initialize private attributes and call the user-defined model_post_init method.
new_modeling_toolkit.system.electric.resource_group module
- class ResourceGroup
Bases:
Component
- Fields:
category (new_modeling_toolkit.system.electric.resource_group.ResourceGroupCategory | None)
flexible_resources (dict[str, new_modeling_toolkit.core.linkage.Linkage])
hybrid_variable_resources (dict[str, new_modeling_toolkit.core.linkage.Linkage])
hydro_resources (dict[str, new_modeling_toolkit.core.linkage.Linkage])
include (Annotated[bool, Metadata(category=FieldCategory.BUILD)])
resources (dict[str, new_modeling_toolkit.core.linkage.Linkage])
shed_dr_resources (dict[str, new_modeling_toolkit.core.linkage.Linkage])
storage_resources (dict[str, new_modeling_toolkit.core.linkage.Linkage])
thermal_resources (dict[str, new_modeling_toolkit.core.linkage.Linkage])
variable_resources (dict[str, new_modeling_toolkit.core.linkage.Linkage])
- field attr_path: str | pathlib.Path | None = PosixPath('/home/docs/checkouts/readthedocs.org/user_builds/e3-resolve/checkouts/latest/docs/source')
the path to the attributes file
- field category: ResourceGroupCategory | None = None
[RECAP only]. string. Category of all resources in the group. Must be linked to a ResourceGroup. Used to upsample resources and simulate outages in RECAP.
- field fixed_annual_shape: bool | None = False
[RECAP only]. TRUE/FALSE. boolean. Whether or not resources in this group have a fixed annual shape. Typically used when you do not want a resource to got through RECAPβs day draw algorithm.
- field flexible_resources: dict[str, Linkage] = {}
- field hybrid_variable_resources: dict[str, Linkage] = {}
- field hydro_resources: dict[str, Linkage] = {}
- field include: Annotated[bool, Metadata(category=FieldCategory.BUILD)] = True
Include component in system.
- Constraints:
category = FieldCategory.BUILD
units =
excel_short_title =
warning_bounds = (None, None)
show_year_headers = True
default_exclude = False
- field resources: dict[str, Linkage] = {}
- field shed_dr_resources: dict[str, Linkage] = {}
- field storage_resources: dict[str, Linkage] = {}
- field thermal_resources: dict[str, Linkage] = {}
- field variable_resources: dict[str, Linkage] = {}
- draw_days_by_group(load_calendar, model_year, day_window_variable_draws, draw_random_seed)
Randomly draw the days for resource groups with a category of βvariableβ. Default probability function is normal multivariate :returns:
- day}: i is the datetimeindex of the full load profile,
group is the variable profile group, and day is a datetime.datetime representing the random day draw for that variable profile group
- Return type:
dict {(i,group)
- get_aggregated_generation_profile(model_year) Series
new_modeling_toolkit.system.electric.tx_path module
- class TxPath
Bases:
Asset
- Fields:
asset_groups (Annotated[dict[str, linkage.AssetToAssetGroup], Metadata(linkage_order='to')])
build_year (Annotated[pd.Timestamp, Metadata(category=FieldCategory.BUILD)])
can_build_new (Annotated[bool, Metadata(category=FieldCategory.BUILD)])
can_retire (Annotated[bool, Metadata(category=FieldCategory.BUILD)])
elcc_surfaces (Annotated[dict[str, linkage.AssetToELCC], Metadata(linkage_order='to')])
erm_policies (Annotated[dict[str, linkage.ERMContribution], Metadata(linkage_order='to')])
forward_rating_profile (new_modeling_toolkit.core.temporal.timeseries.FractionalTimeseries | None)
hurdle_rate_forward_direction (new_modeling_toolkit.core.temporal.timeseries.NumericTimeseries)
hurdle_rate_reverse_direction (new_modeling_toolkit.core.temporal.timeseries.NumericTimeseries)
include (Annotated[bool, Metadata(category=FieldCategory.BUILD)])
min_operational_capacity (Annotated[ts.NumericTimeseries | None, Metadata(units=units.MW)])
physical_lifetime (Annotated[int, Metadata(category=FieldCategory.BUILD, units=units.year)])
pollutants (dict[str, new_modeling_toolkit.core.linkage.Linkage])
potential (Annotated[float | None, Metadata(category=FieldCategory.BUILD, units=units.megawatt)])
prm_policies (Annotated[dict[str, linkage.ReliabilityContribution], Metadata(linkage_order='to')])
random_seed (Annotated[int | None, Metadata(category=FieldCategory.RELIABILITY)])
reverse_rating_profile (new_modeling_toolkit.core.temporal.timeseries.FractionalTimeseries | None)
stochastic_outage_rate (Annotated[float | None, Metadata(category=FieldCategory.RELIABILITY)])
zones (dict[str, new_modeling_toolkit.core.linkage.ZoneToTransmissionPath])
- field annual_energy_policies: Annotated[dict[str, linkage.AnnualEnergyStandardContribution], Metadata(linkage_order='to', category=FieldCategory.OPERATIONS)] = {}
- Constraints:
category = FieldCategory.OPERATIONS
units =
excel_short_title =
warning_bounds = (None, None)
show_year_headers = True
linkage_order = to
default_exclude = False
- field annualized_capital_cost: Annotated[float, Metadata(category=FieldCategory.BUILD, units=units.dollar / units.kW_year, excel_short_title='Capital Cost', warning_bounds=(0, 1000))] = 0
- Constraints:
category = FieldCategory.BUILD
units = dollar / kiloW_year
excel_short_title = Capital Cost
warning_bounds = (0, 1000)
show_year_headers = True
default_exclude = False
- field annualized_fixed_om_cost: Annotated[ts.NumericTimeseries, Metadata(category=FieldCategory.BUILD, units=units.dollar / units.kW_year, excel_short_title='Fixed O&M', warning_bounds=(0, 100))] [Optional]
- Constraints:
category = FieldCategory.BUILD
units = dollar / kiloW_year
excel_short_title = Fixed O&M
warning_bounds = (0, 100)
show_year_headers = True
default_exclude = False
- field asset_groups: Annotated[dict[str, linkage.AssetToAssetGroup], Metadata(linkage_order='to')] = {}
- Constraints:
units =
excel_short_title =
warning_bounds = (None, None)
show_year_headers = True
linkage_order = to
default_exclude = False
- field attr_path: str | pathlib.Path | None = PosixPath('/home/docs/checkouts/readthedocs.org/user_builds/e3-resolve/checkouts/latest/docs/source')
the path to the attributes file
- field build_year: Annotated[pd.Timestamp, Metadata(category=FieldCategory.BUILD)] = Timestamp('2000-01-01 00:00:00') (alias 'commission_date')
- Constraints:
category = FieldCategory.BUILD
units =
excel_short_title =
warning_bounds = (None, None)
show_year_headers = True
default_exclude = False
- field caiso_tx_constraints: Annotated[dict[str, linkage.AssetToCaisoTxConstraint], Metadata(linkage_order='to')] = {}
- Constraints:
units =
excel_short_title =
warning_bounds = (None, None)
show_year_headers = True
linkage_order = to
default_exclude = False
- field can_build_new: Annotated[bool, Metadata(category=FieldCategory.BUILD)] = False
Whether resource can be expanded (for now only linear capacity expansion).
- Constraints:
category = FieldCategory.BUILD
units =
excel_short_title =
warning_bounds = (None, None)
show_year_headers = True
default_exclude = False
- field can_retire: Annotated[bool, Metadata(category=FieldCategory.BUILD)] = False
Whether resource can be retired. By default, resources cannot be retired.
- Constraints:
category = FieldCategory.BUILD
units =
excel_short_title =
warning_bounds = (None, None)
show_year_headers = True
default_exclude = False
- field custom_constraints: Annotated[dict[str, CustomConstraintLinkage], Metadata(linkage_order=3, default_exclude=True)] = {}
- Constraints:
units =
excel_short_title =
warning_bounds = (None, None)
show_year_headers = True
linkage_order = 3
default_exclude = True
- field elcc_surfaces: Annotated[dict[str, linkage.AssetToELCC], Metadata(linkage_order='to')] = {}
- Constraints:
units =
excel_short_title =
warning_bounds = (None, None)
show_year_headers = True
linkage_order = to
default_exclude = False
- field emissions_policies: Annotated[dict[str, linkage.EmissionsContribution], Metadata(linkage_order='to', category=FieldCategory.OPERATIONS)] = {}
- Constraints:
category = FieldCategory.OPERATIONS
units =
excel_short_title =
warning_bounds = (None, None)
show_year_headers = True
linkage_order = to
default_exclude = False
- field erm_policies: Annotated[dict[str, linkage.ERMContribution], Metadata(linkage_order='to')] = {}
- Constraints:
units =
excel_short_title =
warning_bounds = (None, None)
show_year_headers = True
linkage_order = to
default_exclude = False
- field forward_rating_profile: FractionalTimeseries | None [Optional]
Normalized fixed shape of TXPathβs potential forward rating
- Constraints:
category = FieldCategory.OPERATIONS
units =
excel_short_title = Forward Rating
warning_bounds = (None, None)
show_year_headers = True
default_exclude = False
- field hourly_energy_policies: Annotated[dict[str, linkage.HourlyEnergyStandardContribution], Metadata(linkage_order='to', category=FieldCategory.OPERATIONS)] = {}
- Constraints:
category = FieldCategory.OPERATIONS
units =
excel_short_title =
warning_bounds = (None, None)
show_year_headers = True
linkage_order = to
default_exclude = False
- field hurdle_rate_forward_direction: NumericTimeseries [Optional]
- Constraints:
category = FieldCategory.OPERATIONS
units =
excel_short_title = Forward Hurdle
warning_bounds = (None, None)
show_year_headers = True
default_exclude = False
- field hurdle_rate_reverse_direction: NumericTimeseries [Optional]
- Constraints:
category = FieldCategory.OPERATIONS
units =
excel_short_title = Reverse Hurdle
warning_bounds = (None, None)
show_year_headers = True
default_exclude = False
- field include: Annotated[bool, Metadata(category=FieldCategory.BUILD)] = True
Include component in system.
- Constraints:
category = FieldCategory.BUILD
units =
excel_short_title =
warning_bounds = (None, None)
show_year_headers = True
default_exclude = False
- field integer_build_increment: Annotated[float | None, Metadata(category=FieldCategory.BUILD, units=units.megawatt)] = None
If not None, consider integer (rather than linear) build decisions. If set equal to potential, this will force an all or nothing choice. Otherwise, this can be used to build certain increments of assets
- Constraints:
ge = 0
category = FieldCategory.BUILD
units = megawatt
excel_short_title =
warning_bounds = (None, None)
show_year_headers = True
default_exclude = False
- field mean_time_to_repair: Annotated[float | None, Metadata(category=FieldCategory.RELIABILITY, units=units.hour)] = None
Mean time to repair
- Constraints:
category = FieldCategory.RELIABILITY
units = hour
excel_short_title =
warning_bounds = (None, None)
show_year_headers = True
default_exclude = False
- field min_operational_capacity: Annotated[ts.NumericTimeseries | None, Metadata(units=units.MW)] = None
These three attributes are outputs, not inputs. They are initialized to None and are updated to their chosen optimal values after the RESOLVE model is solved. The attributes are used to give build and retirement decisions to a model run in production simulation mode.
Minimum required operational capacity (planned+selected) by model year for this asset
- Constraints:
units = megawatt
excel_short_title =
warning_bounds = (None, None)
show_year_headers = True
default_exclude = False
- field physical_lifetime: Annotated[int, Metadata(category=FieldCategory.BUILD, units=units.year)] = 100
Number of years after commission date that asset is operational.
- Constraints:
ge = 0
category = FieldCategory.BUILD
units = year
excel_short_title =
warning_bounds = (None, None)
show_year_headers = True
default_exclude = False
- field planned_capacity: Annotated[ts.NumericTimeseries, Metadata(category=FieldCategory.BUILD, units=units.megawatt)] [Optional]
- Constraints:
category = FieldCategory.BUILD
units = megawatt
excel_short_title =
warning_bounds = (None, None)
show_year_headers = True
default_exclude = False
- field pollutants: dict[str, Linkage] = {}
- field potential: Annotated[float | None, Metadata(category=FieldCategory.BUILD, units=units.megawatt)] = inf
- Constraints:
ge = 0
category = FieldCategory.BUILD
units = megawatt
excel_short_title =
warning_bounds = (None, None)
show_year_headers = True
default_exclude = False
- field prm_policies: Annotated[dict[str, linkage.ReliabilityContribution], Metadata(linkage_order='to')] = {}
- Constraints:
units =
excel_short_title =
warning_bounds = (None, None)
show_year_headers = True
linkage_order = to
default_exclude = False
- field random_seed: Annotated[int | None, Metadata(category=FieldCategory.RELIABILITY)] = None
Random seed
- Constraints:
category = FieldCategory.RELIABILITY
units =
excel_short_title =
warning_bounds = (None, None)
show_year_headers = True
default_exclude = False
- field reverse_rating_profile: FractionalTimeseries | None [Optional]
Normalized fixed shape of TXPathβs potential reverse rating
- Constraints:
category = FieldCategory.OPERATIONS
units =
excel_short_title = Reverse Rating
warning_bounds = (None, None)
show_year_headers = True
default_exclude = False
- field stochastic_outage_rate: Annotated[float | None, Metadata(category=FieldCategory.RELIABILITY)] = None
Stochastic forced outage rate
- Constraints:
category = FieldCategory.RELIABILITY
units =
excel_short_title =
warning_bounds = (None, None)
show_year_headers = True
default_exclude = False
- field zones: dict[str, ZoneToTransmissionPath] = {}
- Constraints:
units =
excel_short_title =
warning_bounds = (None, None)
show_year_headers = True
linkage_order = from
default_exclude = False
- revalidate()
Abstract method to run additional validations after Linkage.announce_linkage_to_instances.
- class TxPathGroup
Bases:
AssetGroup
,TxPath
- Fields:
aggregate_operations ()
annual_energy_policies ()
annualized_capital_cost ()
annualized_fixed_om_cost ()
asset_groups ()
assets ()
attr_path ()
build_year ()
caiso_tx_constraints ()
can_build_new ()
can_retire ()
class_name ()
cumulative_potential ()
cumulative_retired_capacity ()
custom_constraints ()
elcc_surfaces ()
emissions_policies ()
erm_policies ()
forward_rating_profile ()
hourly_energy_policies ()
hurdle_rate_forward_direction ()
hurdle_rate_reverse_direction ()
include ()
integer_build_increment ()
mean_time_to_repair ()
min_cumulative_new_build ()
min_operational_capacity ()
name ()
operational_capacity ()
physical_lifetime ()
planned_capacity ()
pollutants ()
potential ()
prm_policies ()
random_seed ()
retired_capacity ()
reverse_rating_profile ()
selected_capacity ()
stochastic_outage_rate ()
vintage_parent_group ()
vintages_to_construct ()
zones (dict[str, new_modeling_toolkit.core.linkage.ZoneToTransmissionPath])
- field zones: dict[str, ZoneToTransmissionPath] = {}
- Constraints:
units =
excel_short_title =
warning_bounds = (None, None)
show_year_headers = True
linkage_order = from
default_exclude = False
- model_post_init(_ModelMetaclass__context: Any) None
We need to both initialize private attributes and call the user-defined model_post_init method.
new_modeling_toolkit.system.electric.zone module
- class Zone
Bases:
Component
- Fields:
annual_energy_policies (dict[str, new_modeling_toolkit.core.linkage.AllToPolicy])
assets (dict[str, new_modeling_toolkit.core.linkage.AssetToZone])
biomass_resources (dict[str, new_modeling_toolkit.core.linkage.AssetToZone])
electrofuel_resources (dict[str, new_modeling_toolkit.core.linkage.AssetToZone])
emissions_policies (dict[str, new_modeling_toolkit.core.linkage.AllToPolicy])
energy_demand_subsectors (dict[str, new_modeling_toolkit.core.linkage.Linkage])
erm_policies (dict[str, new_modeling_toolkit.core.linkage.AllToPolicy])
final_fuel_demands (dict[str, new_modeling_toolkit.core.linkage.Linkage])
flexible_resources (dict[str, new_modeling_toolkit.core.linkage.AssetToZone])
hourly_energy_policies (dict[str, new_modeling_toolkit.core.linkage.AllToPolicy])
hydro_resources (dict[str, new_modeling_toolkit.core.linkage.AssetToZone])
include (Annotated[bool, Metadata(category=FieldCategory.BUILD)])
loads (dict[str, new_modeling_toolkit.core.linkage.LoadToZone])
non_energy_subsectors (dict[str, new_modeling_toolkit.core.linkage.Linkage])
prm_policies (dict[str, new_modeling_toolkit.core.linkage.AllToPolicy])
products (dict[str, new_modeling_toolkit.system.generics.generic_linkages.ZoneToProduct])
reserves (dict[str, new_modeling_toolkit.core.linkage.ReserveToZone])
resources (dict[str, new_modeling_toolkit.core.linkage.AssetToZone])
shed_dr_resources (dict[str, new_modeling_toolkit.core.linkage.AssetToZone])
stock_rollover_subsectors (dict[str, new_modeling_toolkit.core.linkage.Linkage])
storage_resources (dict[str, new_modeling_toolkit.core.linkage.AssetToZone])
thermal_resources (dict[str, new_modeling_toolkit.core.linkage.AssetToZone])
tx_paths (dict[str, new_modeling_toolkit.core.linkage.ZoneToTransmissionPath])
variable_resources (dict[str, new_modeling_toolkit.core.linkage.AssetToZone])
- field annual_energy_policies: dict[str, AllToPolicy] = {}
- field assets: dict[str, AssetToZone] = {}
- Constraints:
units =
excel_short_title =
warning_bounds = (None, None)
show_year_headers = True
linkage_order = from
default_exclude = False
- field attr_path: str | pathlib.Path | None = PosixPath('/home/docs/checkouts/readthedocs.org/user_builds/e3-resolve/checkouts/latest/docs/source')
the path to the attributes file
- field biomass_resources: dict[str, AssetToZone] = {}
- Constraints:
units =
excel_short_title =
warning_bounds = (None, None)
show_year_headers = True
linkage_order = from
default_exclude = False
- field electrofuel_resources: dict[str, AssetToZone] = {}
- Constraints:
units =
excel_short_title =
warning_bounds = (None, None)
show_year_headers = True
linkage_order = from
default_exclude = False
- field emissions_policies: dict[str, AllToPolicy] = {}
- field energy_demand_subsectors: dict[str, Linkage] = {}
- field erm_policies: dict[str, AllToPolicy] = {}
- field final_fuel_demands: dict[str, Linkage] = {}
- field flexible_resources: dict[str, AssetToZone] = {}
- Constraints:
units =
excel_short_title =
warning_bounds = (None, None)
show_year_headers = True
linkage_order = from
default_exclude = False
- field hourly_energy_policies: dict[str, AllToPolicy] = {}
- field hydro_resources: dict[str, AssetToZone] = {}
- Constraints:
units =
excel_short_title =
warning_bounds = (None, None)
show_year_headers = True
linkage_order = from
default_exclude = False
- field include: Annotated[bool, Metadata(category=FieldCategory.BUILD)] = True
Include component in system.
- Constraints:
category = FieldCategory.BUILD
units =
excel_short_title =
warning_bounds = (None, None)
show_year_headers = True
default_exclude = False
- field loads: dict[str, LoadToZone] = {}
- field non_energy_subsectors: dict[str, Linkage] = {}
- field penalty_overgen: float = 10000
Modeled penalty for overgeneration.
- Constraints:
category = FieldCategory.OPERATIONS
units = dollar / megawatt_hour
excel_short_title =
warning_bounds = (None, None)
show_year_headers = True
default_exclude = False
- field penalty_unserved_energy: float = 10000
Modeled penalty for unserved load.
- Constraints:
category = FieldCategory.OPERATIONS
units = dollar / megawatt_hour
excel_short_title =
warning_bounds = (None, None)
show_year_headers = True
default_exclude = False
- field prm_policies: dict[str, AllToPolicy] = {}
- field reserves: dict[str, ReserveToZone] = {}
- field resources: dict[str, AssetToZone] = {}
- Constraints:
units =
excel_short_title =
warning_bounds = (None, None)
show_year_headers = True
linkage_order = from
default_exclude = False
- field shed_dr_resources: dict[str, AssetToZone] = {}
- Constraints:
units =
excel_short_title =
warning_bounds = (None, None)
show_year_headers = True
linkage_order = from
default_exclude = False
- field stock_rollover_subsectors: dict[str, Linkage] = {}
- field storage_resources: dict[str, AssetToZone] = {}
- Constraints:
units =
excel_short_title =
warning_bounds = (None, None)
show_year_headers = True
linkage_order = from
default_exclude = False
- field thermal_resources: dict[str, AssetToZone] = {}
- Constraints:
units =
excel_short_title =
warning_bounds = (None, None)
show_year_headers = True
linkage_order = from
default_exclude = False
- field tx_paths: dict[str, ZoneToTransmissionPath] = {}
- field variable_resources: dict[str, AssetToZone] = {}
- Constraints:
units =
excel_short_title =
warning_bounds = (None, None)
show_year_headers = True
linkage_order = from
default_exclude = False
- get_aggregated_load(modeled_year: int, weather_year_timestamp: Timestamp) float
Queries aggregated load in zone at given timepoint
- get_aggregated_load_profile(modeled_year) Series
Queries aggregated load profile in zone
- property annual_results_column_order
This property defines the ordering of columns in the componentβs annual results summary out of Resolve. The name of the model field or formulation_block pyomo component can be used.
- property load_instances: Dict[str, Load]
- property resource_instances: Dict[str, GenericResource]