gitextract_1kk9e1p9/ ├── .claude/ │ ├── Sienna.md │ └── claude.md ├── .devcontainer/ │ └── devcontainer.json ├── .github/ │ ├── ISSUE_TEMPLATE/ │ │ ├── bug_report.md │ │ └── feature_request.md │ └── workflows/ │ ├── TagBot.yml │ ├── cross-package-test.yml │ ├── doc-preview-cleanup.yml │ ├── docs.yml │ ├── format-check.yml │ ├── main-tests.yml │ ├── performance_comparison.yml │ └── pr_testing.yml ├── .gitignore ├── .pre-commit-config.yaml ├── CONTRIBUTING.md ├── LICENSE ├── Project.toml ├── README.md ├── codecov.yml ├── docs/ │ ├── Makefile │ ├── Project.toml │ ├── make.jl │ ├── make_tutorials.jl │ └── src/ │ ├── api/ │ │ ├── PowerSimulations.md │ │ ├── developer.md │ │ ├── glossary.md │ │ └── internal.md │ ├── code_base_developer_guide/ │ │ └── extending_powersimulations.md │ ├── explanation/ │ │ ├── chronologies.md │ │ ├── feedforward.md │ │ ├── psi_structure.md │ │ └── sequencing.md │ ├── formulation_library/ │ │ ├── Branch.md │ │ ├── DCModels.md │ │ ├── Feedforward.md │ │ ├── General.md │ │ ├── Introduction.md │ │ ├── Load.md │ │ ├── Network.md │ │ ├── Piecewise.md │ │ ├── README.md │ │ ├── RenewableGen.md │ │ ├── Service.md │ │ ├── Source.md │ │ └── ThermalGen.md │ ├── get_test_data.jl │ ├── how_to/ │ │ ├── adding_new_problem_model.md │ │ ├── debugging_infeasible_models.md │ │ ├── logging.md │ │ ├── parallel_simulations.md │ │ ├── problem_templates.md │ │ ├── read_results.md │ │ ├── register_variable.md │ │ └── simulation_recorder.md │ ├── index.md │ └── tutorials/ │ ├── decision_problem.jl │ └── pcm_simulation.jl ├── scripts/ │ └── formatter/ │ ├── Project.toml │ └── formatter_code.jl ├── src/ │ ├── PowerSimulations.jl │ ├── contingency_model/ │ │ ├── contingency.jl │ │ ├── contingency_arguments.jl │ │ └── contingency_constraints.jl │ ├── core/ │ │ ├── abstract_feedforward.jl │ │ ├── abstract_simulation_store.jl │ │ ├── auxiliary_variables.jl │ │ ├── cache_utils.jl │ │ ├── constraints.jl │ │ ├── dataset.jl │ │ ├── dataset_container.jl │ │ ├── definitions.jl │ │ ├── device_model.jl │ │ ├── dual_processing.jl │ │ ├── event_keys.jl │ │ ├── event_model.jl │ │ ├── expressions.jl │ │ ├── formulations.jl │ │ ├── initial_conditions.jl │ │ ├── model_store_params.jl │ │ ├── network_formulations.jl │ │ ├── network_model.jl │ │ ├── network_reductions.jl │ │ ├── operation_model_abstract_types.jl │ │ ├── optimization_container.jl │ │ ├── parameters.jl │ │ ├── power_flow_data_wrapper.jl │ │ ├── results_by_time.jl │ │ ├── service_model.jl │ │ ├── settings.jl │ │ ├── store_common.jl │ │ └── variables.jl │ ├── devices_models/ │ │ ├── device_constructors/ │ │ │ ├── branch_constructor.jl │ │ │ ├── hvdcsystems_constructor.jl │ │ │ ├── load_constructor.jl │ │ │ ├── reactivepowerdevice_constructor.jl │ │ │ ├── regulationdevice_constructor.jl │ │ │ ├── renewablegeneration_constructor.jl │ │ │ ├── source_constructor.jl │ │ │ └── thermalgeneration_constructor.jl │ │ └── devices/ │ │ ├── AC_branches.jl │ │ ├── HVDCsystems.jl │ │ ├── TwoTerminalDC_branches.jl │ │ ├── area_interchange.jl │ │ ├── common/ │ │ │ ├── add_auxiliary_variable.jl │ │ │ ├── add_constraint_dual.jl │ │ │ ├── add_pwl_methods.jl │ │ │ ├── add_to_expression.jl │ │ │ ├── add_variable.jl │ │ │ ├── duration_constraints.jl │ │ │ ├── get_time_series.jl │ │ │ ├── objective_function/ │ │ │ │ ├── common.jl │ │ │ │ ├── import_export.jl │ │ │ │ ├── linear_curve.jl │ │ │ │ ├── market_bid.jl │ │ │ │ ├── piecewise_linear.jl │ │ │ │ └── quadratic_curve.jl │ │ │ ├── range_constraint.jl │ │ │ ├── rateofchange_constraints.jl │ │ │ └── set_expression.jl │ │ ├── default_interface_methods.jl │ │ ├── electric_loads.jl │ │ ├── reactivepower_device.jl │ │ ├── regulation_device.jl │ │ ├── renewable_generation.jl │ │ ├── source.jl │ │ └── thermal_generation.jl │ ├── feedforward/ │ │ ├── feedforward_arguments.jl │ │ ├── feedforward_constraints.jl │ │ └── feedforwards.jl │ ├── initial_conditions/ │ │ ├── add_initial_condition.jl │ │ ├── calculate_initial_condition.jl │ │ ├── initial_condition_chronologies.jl │ │ ├── initialization.jl │ │ └── update_initial_conditions.jl │ ├── network_models/ │ │ ├── area_balance_model.jl │ │ ├── copperplate_model.jl │ │ ├── hvdc_network_constructor.jl │ │ ├── hvdc_networks.jl │ │ ├── network_constructor.jl │ │ ├── network_slack_variables.jl │ │ ├── pm_translator.jl │ │ ├── power_flow_evaluation.jl │ │ └── powermodels_interface.jl │ ├── operation/ │ │ ├── decision_model.jl │ │ ├── decision_model_store.jl │ │ ├── emulation_model.jl │ │ ├── emulation_model_store.jl │ │ ├── initial_conditions_update_in_memory_store.jl │ │ ├── model_numerical_analysis_utils.jl │ │ ├── operation_model_interface.jl │ │ ├── operation_model_simulation_interface.jl │ │ ├── operation_model_types.jl │ │ ├── operation_problem_templates.jl │ │ ├── optimization_debugging.jl │ │ ├── problem_results.jl │ │ ├── problem_template.jl │ │ ├── template_validation.jl │ │ └── time_series_interface.jl │ ├── parameters/ │ │ ├── add_parameters.jl │ │ ├── update_container_parameter_values.jl │ │ ├── update_cost_parameters.jl │ │ └── update_parameters.jl │ ├── services_models/ │ │ ├── agc.jl │ │ ├── reserve_group.jl │ │ ├── reserves.jl │ │ ├── service_slacks.jl │ │ ├── services_constructor.jl │ │ └── transmission_interface.jl │ ├── simulation/ │ │ ├── decision_model_simulation_results.jl │ │ ├── emulation_model_simulation_results.jl │ │ ├── get_components_interface.jl │ │ ├── hdf_simulation_store.jl │ │ ├── in_memory_simulation_store.jl │ │ ├── initial_condition_update_simulation.jl │ │ ├── optimization_output_cache.jl │ │ ├── optimization_output_caches.jl │ │ ├── realized_meta.jl │ │ ├── simulation.jl │ │ ├── simulation_events.jl │ │ ├── simulation_info.jl │ │ ├── simulation_internal.jl │ │ ├── simulation_models.jl │ │ ├── simulation_partition_results.jl │ │ ├── simulation_partitions.jl │ │ ├── simulation_problem_results.jl │ │ ├── simulation_results.jl │ │ ├── simulation_results_export.jl │ │ ├── simulation_sequence.jl │ │ ├── simulation_state.jl │ │ ├── simulation_store_params.jl │ │ └── simulation_store_requirements.jl │ └── utils/ │ ├── dataframes_utils.jl │ ├── datetime_utils.jl │ ├── file_utils.jl │ ├── generate_valid_formulations.jl │ ├── indexing.jl │ ├── jump_utils.jl │ ├── logging.jl │ ├── powersystems_utils.jl │ ├── print_pt_v2.jl │ ├── print_pt_v3.jl │ ├── recorder_events.jl │ └── time_series_utils.jl └── test/ ├── Project.toml ├── includes.jl ├── performance/ │ └── performance_test.jl ├── run_partitioned_simulation.jl ├── runtests.jl ├── test_basic_model_structs.jl ├── test_data/ │ └── results_export.json ├── test_device_branch_constructors.jl ├── test_device_hvdc.jl ├── test_device_lcc.jl ├── test_device_load_constructors.jl ├── test_device_renewable_generation_constructors.jl ├── test_device_source_constructors.jl ├── test_device_synchronous_condenser_constructors.jl ├── test_device_thermal_generation_constructors.jl ├── test_events.jl ├── test_formulation_combinations.jl ├── test_import_export_cost.jl ├── test_initialization_problem.jl ├── test_jump_utils.jl ├── test_market_bid_cost.jl ├── test_mbc_sanity_check.jl ├── test_model_decision.jl ├── test_model_emulation.jl ├── test_multi_interval.jl ├── test_network_constructors.jl ├── test_network_constructors_with_dlr.jl ├── test_parallel_branch_parameter_multipliers.jl ├── test_power_flow_in_the_loop.jl ├── test_print.jl ├── test_problem_template.jl ├── test_recorder_events.jl ├── test_services_constructor.jl ├── test_simulation_build.jl ├── test_simulation_execute.jl ├── test_simulation_models.jl ├── test_simulation_partitions.jl ├── test_simulation_results.jl ├── test_simulation_results_export.jl ├── test_simulation_sequence.jl ├── test_simulation_store.jl ├── test_utils/ │ ├── add_components_to_system.jl │ ├── add_dlr_ts.jl │ ├── add_market_bid_cost.jl │ ├── common_operation_model.jl │ ├── events_simulation_utils.jl │ ├── iec_simulation_utils.jl │ ├── mbc_simulation_utils.jl │ ├── mbc_system_utils.jl │ ├── mock_operation_models.jl │ ├── model_checks.jl │ ├── operations_problem_templates.jl │ ├── run_simulation.jl │ └── solver_definitions.jl └── test_utils.jl