flextool 4.7.2__tar.gz → 4.7.3__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {flextool-4.7.2/flextool.egg-info → flextool-4.7.3}/PKG-INFO +1 -1
- {flextool-4.7.2 → flextool-4.7.3}/docs/how_to/thermal_chp.md +1 -1
- {flextool-4.7.2 → flextool-4.7.3}/docs/reference/connections.md +1 -1
- {flextool-4.7.2 → flextool-4.7.3}/docs/reference/reserves.md +1 -1
- {flextool-4.7.2 → flextool-4.7.3}/docs/reference/units.md +2 -2
- {flextool-4.7.2 → flextool-4.7.3}/docs/results.md +4 -2
- {flextool-4.7.2 → flextool-4.7.3}/flextool/_solver_config_source.py +5 -2
- {flextool-4.7.2 → flextool-4.7.3}/flextool/engine/autoscale/_report.py +9 -3
- {flextool-4.7.2 → flextool-4.7.3}/flextool/engine/model/_online.py +52 -95
- {flextool-4.7.2 → flextool-4.7.3}/flextool/engine/model/_reserve.py +5 -12
- {flextool-4.7.2 → flextool-4.7.3}/flextool/engine/model/core/_flows.py +3 -3
- {flextool-4.7.2 → flextool-4.7.3}/flextool/engine/preprocess/_reduce_detail.py +1 -1
- {flextool-4.7.2 → flextool-4.7.3}/flextool/engine/preprocess/flex_data/_load_ramp_online.py +20 -21
- {flextool-4.7.2 → flextool-4.7.3}/flextool/engine/preprocess/params/_mintime.py +57 -16
- {flextool-4.7.2 → flextool-4.7.3}/flextool/engine/solve/_acceptance.py +23 -9
- {flextool-4.7.2 → flextool-4.7.3}/flextool/engine/solve/_orchestration/_cascade.py +1 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/engine/solve/_orchestration/_entry.py +5 -2
- {flextool-4.7.2 → flextool-4.7.3}/flextool/engine/solve/_realization.py +11 -8
- {flextool-4.7.2 → flextool-4.7.3}/flextool/process_outputs/_ramp_inputs.py +23 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/process_outputs/calc_ramp_envelope.py +25 -9
- {flextool-4.7.2 → flextool-4.7.3}/flextool/process_outputs/drop_levels.py +2 -1
- {flextool-4.7.2 → flextool-4.7.3}/flextool/process_outputs/read_parameters.py +5 -1
- {flextool-4.7.2 → flextool-4.7.3}/flextool/run_warnings/_engine_specs.py +3 -2
- {flextool-4.7.2 → flextool-4.7.3/flextool.egg-info}/PKG-INFO +1 -1
- {flextool-4.7.2 → flextool-4.7.3}/pyproject.toml +1 -1
- {flextool-4.7.2 → flextool-4.7.3}/LICENSE.txt +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/MANIFEST.in +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/README.md +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/_flextool_build.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/docs/advanced_concepts.md +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/docs/ai_assistant.md +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/docs/dev/architecture.md +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/docs/dev/assistant.md +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/docs/dev/engine.md +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/docs/dev/slack_convention.md +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/docs/env_vars.md +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/docs/excel_interface.md +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/docs/flextool_gui_interface.md +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/docs/how_to/basics.md +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/docs/how_to/demand_response.md +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/docs/how_to/emissions.md +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/docs/how_to/index.md +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/docs/how_to/investment.md +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/docs/how_to/outputs.md +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/docs/how_to/performance.md +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/docs/how_to/solve_sequences.md +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/docs/how_to/stochastic_examples.md +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/docs/how_to/stochastics.md +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/docs/how_to/storage_hydro.md +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/docs/index.md +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/docs/install_gui.md +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/docs/install_toolbox.md +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/docs/interface_overview.md +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/docs/limitations.md +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/docs/reading_results.md +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/docs/reference/commodities.md +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/docs/reference/entities_and_time.md +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/docs/reference/flow_groups.md +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/docs/reference/groups.md +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/docs/reference/index.md +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/docs/reference/nodes.md +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/docs/reference/parameter_groups.md +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/docs/reference/user_constraints.md +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/docs/solvers/copt.md +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/docs/solvers/cplex.md +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/docs/solvers/gurobi.md +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/docs/solvers/highs.md +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/docs/solvers/index.md +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/docs/solvers/option_trust_internals.md +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/docs/solvers/xpress.md +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/docs/spine_database.md +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/docs/spine_toolbox.md +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/docs/terminal_workflow.md +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/docs/tutorial.md +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/__init__.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/_allocator.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/_child_python.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/_file_lock.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/_local_solver_settings.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/_mem_sampler.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/_process_tree.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/_resources.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/_safe_text.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/_solver_option_rules.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/_thread_budget.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/assistant/__init__.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/assistant/_files.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/assistant/backends/__init__.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/assistant/backends/_common.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/assistant/backends/anthropic_messages.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/assistant/backends/openai_chat.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/assistant/budget.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/assistant/caps.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/assistant/chat_cli.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/assistant/cli.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/assistant/context.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/assistant/docs_store.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/assistant/endpoint.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/assistant/env_knobs.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/assistant/errors.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/assistant/inputs/__init__.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/assistant/inputs/_db.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/assistant/inputs/_notes.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/assistant/inputs/_schema.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/assistant/inputs/_units.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/assistant/inputs/_values.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/assistant/keys.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/assistant/llm_adapter.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/assistant/llm_errors.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/assistant/llm_retry.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/assistant/mcp_server.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/assistant/model_check.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/assistant/model_facts.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/assistant/model_list_cache.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/assistant/model_versions.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/assistant/net.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/assistant/pacing.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/assistant/placeholders.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/assistant/probes.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/assistant/project.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/assistant/prompt.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/assistant/providers.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/assistant/redact.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/assistant/registry.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/assistant/results/__init__.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/assistant/results/_catalog.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/assistant/results/_entity.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/assistant/results/_overview.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/assistant/results/_query.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/assistant/results/_runs.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/assistant/results/_slacks.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/assistant/runtime_context.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/assistant/session.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/assistant/settings.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/assistant/store.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/assistant/textsearch.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/assistant/thoughts.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/assistant/tiers.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/assistant/tools/__init__.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/assistant/tools/diagnostics.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/assistant/tools/discovery.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/assistant/tools/explain.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/assistant/tools/inputs.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/assistant/tools/orientation.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/assistant/tools/results.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/assistant/unit_wording.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/assistant/usage.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/calibrate/__init__.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/calibrate/__main__.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/calibrate/_cli.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/calibrate/_db_alt.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/calibrate/_final_outputs.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/calibrate/_guard.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/calibrate/_loop.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/calibrate/_readers.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/calibrate/_report.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/calibrate/_sizing.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/calibrate/_solve.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/calibrate/_solve_status.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/cli/__init__.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/cli/_console.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/cli/_timing.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/cli/cmd_execute_flextool_workflow.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/cli/cmd_export_to_tabular.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/cli/cmd_freeze_database.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/cli/cmd_import_sensitivities.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/cli/cmd_migrate_database.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/cli/cmd_open_results_db.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/cli/cmd_project_package.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/cli/cmd_read_matpower.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/cli/cmd_read_old_flextool.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/cli/cmd_read_self_describing_tabular_input.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/cli/cmd_read_tabular_input.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/cli/cmd_repair_value_list.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/cli/cmd_run_flextool.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/cli/cmd_scenario_results.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/cli/cmd_solve_mps.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/cli/cmd_time_runs.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/cli/cmd_trust_workspace.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/cli/cmd_update_flextool.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/cli/cmd_write_outputs.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/common_utils/__init__.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/common_utils/plot_mem_shape.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/console_markers.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/decomposition/__init__.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/decomposition/region_decomposition.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/decomposition/region_filter.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/docs_build/__init__.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/docs_build/__main__.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/docs_build/catalogue.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/docs_build/formulation.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/docs_build/index.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/docs_build/parameters.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/docs_build/scope.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/docs_build/warnings.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/engine/__init__.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/engine/_behaviour_changes.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/engine/_csv_reload/__init__.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/engine/_csv_reload/_field_seeds.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/engine/_csv_reload/_meta.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/engine/_csv_reload/_seed.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/engine/_csv_reload/_stamp.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/engine/_csv_reload/_topology.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/engine/_csv_reload/load.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/engine/_csv_reload/offline_outputs.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/engine/autoscale/__init__.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/engine/autoscale/_config.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/engine/autoscale/_guard.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/engine/autoscale/_layer2.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/engine/autoscale/_layer2_types.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/engine/autoscale/_quantity_types.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/engine/input/__init__.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/engine/input/_axis_enums.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/engine/input/_constants.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/engine/input/_db_loader.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/engine/input/_db_reader.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/engine/input/_inmemory_reader.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/engine/input/_input_source.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/engine/input/_lifetime_roles.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/engine/input/_param_shapes.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/engine/input/_piecewise_curve.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/engine/input/_solve_config.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/engine/input/_solve_state.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/engine/input/_solve_step_aggregation.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/engine/input/_spinedb_reader.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/engine/input/_timeline.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/engine/input/_timeline_rules.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/engine/model/__init__.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/engine/model/_balance_terms.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/engine/model/_capacity.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/engine/model/_coarse_flows.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/engine/model/_commodity_ladder.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/engine/model/_common.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/engine/model/_cumulative_invest.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/engine/model/_dc_power_flow.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/engine/model/_delay.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/engine/model/_exact.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/engine/model/_extend.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/engine/model/_group_slack.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/engine/model/_lead_time.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/engine/model/_non_anticipativity.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/engine/model/_pdt_join.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/engine/model/_period_rows.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/engine/model/_retire_built.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/engine/model/_self_discharge.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/engine/model/_unit_floors.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/engine/model/core/__init__.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/engine/model/core/_build.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/engine/model/core/_co2.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/engine/model/core/_context.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/engine/model/core/_conversion.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/engine/model/core/_invest.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/engine/model/core/_node_balance.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/engine/model/core/_objective.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/engine/model/core/_prepare.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/engine/model/core/_profiles.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/engine/model/core/_ramp.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/engine/model/core/_rp_storage.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/engine/model/core/_storage_links.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/engine/model/core/_storage_state.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/engine/model/core/_user_constraints.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/engine/model/core/_variables.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/engine/output/__init__.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/engine/output/_benders_slice.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/engine/output/_capacity_margin.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/engine/output/_coarse_flows.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/engine/output/_cohort_capacity.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/engine/output/_dump_csvs.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/engine/output/_horizon_dump.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/engine/output/_parquet_bundle.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/engine/output/_prices.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/engine/output/_reserve_report.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/engine/output/_writer.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/engine/preprocess/__init__.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/engine/preprocess/_annuity.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/engine/preprocess/_co2_carry.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/engine/preprocess/_co2_methods.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/engine/preprocess/_dump_stamp.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/engine/preprocess/_flex_data_provider.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/engine/preprocess/_input_writer.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/engine/preprocess/_invest_seeds.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/engine/preprocess/_provider_io.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/engine/preprocess/_provider_keys.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/engine/preprocess/_provider_translators.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/engine/preprocess/_reserve_methods.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/engine/preprocess/_solve_context.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/engine/preprocess/_step_relations.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/engine/preprocess/_stochastic_detect.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/engine/preprocess/emit/__init__.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/engine/preprocess/emit/_arc_unions.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/engine/preprocess/emit/_base_steps.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/engine/preprocess/emit/_blocks.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/engine/preprocess/emit/_calc_params.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/engine/preprocess/emit/_capacity_margin_peak.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/engine/preprocess/emit/_chain_params.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/engine/preprocess/emit/_co2_accumulators.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/engine/preprocess/emit/_dispatchers.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/engine/preprocess/emit/_energy_margin.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/engine/preprocess/emit/_energy_margin_adder.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/engine/preprocess/emit/_flowgroup_accumulators.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/engine/preprocess/emit/_inflow_scaling.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/engine/preprocess/emit/_inflow_scaling_checks.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/engine/preprocess/emit/_leaf_sets.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/engine/preprocess/emit/_lp_scaling.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/engine/preprocess/emit/_mid_sets.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/engine/preprocess/emit/_pdt_lookup.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/engine/preprocess/emit/_pdt_params.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/engine/preprocess/emit/_per_solve.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/engine/preprocess/emit/_period_calc.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/engine/preprocess/emit/_period_params.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/engine/preprocess/emit/_reserve_sets.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/engine/preprocess/emit/_solve_time.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/engine/preprocess/emit/_solve_writers.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/engine/preprocess/emit/_vectorize.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/engine/preprocess/flex_data/__init__.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/engine/preprocess/flex_data/_coarse.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/engine/preprocess/flex_data/_container.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/engine/preprocess/flex_data/_db_overrides.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/engine/preprocess/flex_data/_handoff.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/engine/preprocess/flex_data/_handoff_commodity.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/engine/preprocess/flex_data/_handoff_inputs.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/engine/preprocess/flex_data/_handoff_storage.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/engine/preprocess/flex_data/_load.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/engine/preprocess/flex_data/_load_co2.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/engine/preprocess/flex_data/_load_features.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/engine/preprocess/flex_data/_load_storage.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/engine/preprocess/flex_data/_load_topology.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/engine/preprocess/flex_data/_readers.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/engine/preprocess/params/__init__.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/engine/preprocess/params/_arithmetic.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/engine/preprocess/params/_block.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/engine/preprocess/params/_block_layout.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/engine/preprocess/params/_branch.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/engine/preprocess/params/_coarse.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/engine/preprocess/params/_cohort_handoff.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/engine/preprocess/params/_cohorts.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/engine/preprocess/params/_cost_lines.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/engine/preprocess/params/_derived/__init__.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/engine/preprocess/params/_derived/_active_steps.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/engine/preprocess/params/_derived/_arc_capacity.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/engine/preprocess/params/_derived/_delay.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/engine/preprocess/params/_derived/_dtttdt.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/engine/preprocess/params/_derived/_existing_capacity.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/engine/preprocess/params/_derived/_handoff_state.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/engine/preprocess/params/_derived/_inflation.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/engine/preprocess/params/_derived/_invest_apply.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/engine/preprocess/params/_derived/_invest_sets.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/engine/preprocess/params/_derived/_ladder.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/engine/preprocess/params/_derived/_lookbacks.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/engine/preprocess/params/_derived/_periods.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/engine/preprocess/params/_derived/_process_flows.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/engine/preprocess/params/_derived/_process_method.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/engine/preprocess/params/_derived/_reserves.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/engine/preprocess/params/_derived/_scaling_inflow.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/engine/preprocess/params/_derived/_scope.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/engine/preprocess/params/_derived/_storage.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/engine/preprocess/params/_derived/_time.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/engine/preprocess/params/_derived/_unitsize.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/engine/preprocess/params/_direct.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/engine/preprocess/params/_discount.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/engine/preprocess/params/_existing.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/engine/preprocess/params/_existing_salvage.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/engine/preprocess/params/_extend.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/engine/preprocess/params/_fixed_costs.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/engine/preprocess/params/_lifetime_costs.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/engine/preprocess/params/_lifetime_inputs.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/engine/preprocess/params/_npv.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/engine/preprocess/params/_per_solve_sets.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/engine/preprocess/params/_period_values.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/engine/preprocess/params/_piecewise.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/engine/preprocess/params/_profiles.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/engine/preprocess/params/_projection.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/engine/preprocess/params/_ramp_links.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/engine/preprocess/params/_report_lines.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/engine/preprocess/params/_retire_built.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/engine/preprocess/params/_retire_existing.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/engine/preprocess/params/_retire_settlement.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/engine/preprocess/params/_run_calendar.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/engine/preprocess/params/_run_costs.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/engine/preprocess/params/_walks.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/engine/solve/__init__.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/engine/solve/_benders.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/engine/solve/_benders_final.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/engine/solve/_carry_routing.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/engine/solve/_co2_total_scope.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/engine/solve/_determinism.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/engine/solve/_handoff.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/engine/solve/_objective_options.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/engine/solve/_orchestration/__init__.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/engine/solve/_orchestration/_autoscale_hooks.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/engine/solve/_orchestration/_guards.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/engine/solve/_orchestration/_highs_options.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/engine/solve/_orchestration/_memory.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/engine/solve/_orchestration/_steps.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/engine/solve/_realization_tail.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/engine/solve/_realized_overlap.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/engine/solve/_recursive_solve.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/engine/solve/_region_filter/__init__.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/engine/solve/_region_filter/_arcs.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/engine/solve/_region_filter/_checks.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/engine/solve/_region_filter/_frames.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/engine/solve/_region_filter/_master_network.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/engine/solve/_region_filter/_master_side.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/engine/solve/_region_filter/_region_data.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/engine/solve/_region_filter/_regions.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/engine/solve/_region_filter/_split.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/engine/solve/_run_model/__init__.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/engine/solve/_run_model/_native_run_model.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/engine/solve/_run_model/_nested_storage.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/engine/solve/_run_model/_rolling_storage.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/engine/solve/_run_model/_rp_methods.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/engine/solve/_run_model/_run_timelines.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/engine/solve/_run_model/_storage_frames.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/engine/solve/_solver_base.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/engine/solve/_solver_catalogue.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/engine/solve/_solver_dispatch.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/engine/solve/_solver_outcome.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/engine/solve/_stochastic.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/engine/solve/_subprocess_solve.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/engine/solve/_warm.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/engine/solve/chain.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/engine/solve/solver_catalogue/copt.json +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/engine/solve/solver_catalogue/cplex.json +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/engine/solve/solver_catalogue/gurobi.json +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/engine/solve/solver_catalogue/highs.json +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/engine/solve/solver_catalogue/xpress.json +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/engine_polars/__init__.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/env_check.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/export_to_tabular/__init__.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/export_to_tabular/db_reader.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/export_to_tabular/excel_writer.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/export_to_tabular/export_settings.yaml +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/export_to_tabular/export_to_excel.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/export_to_tabular/formatting.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/export_to_tabular/index_names.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/export_to_tabular/sheet_config.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/gui/__init__.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/gui/__main__.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/gui/_menus.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/gui/assistant/__init__.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/gui/assistant/chat_tab.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/gui/assistant/chat_window.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/gui/assistant/entry.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/gui/assistant/fonts.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/gui/assistant/gate.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/gui/assistant/geometry.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/gui/assistant/gui_state.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/gui/assistant/markdown_stream.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/gui/assistant/notices.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/gui/assistant/settings_dialog.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/gui/assistant/strings.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/gui/assistant/transcript.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/gui/assistant/worker.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/gui/calibrate_commands.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/gui/calibrate_jobs.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/gui/check_tree.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/gui/cli_format.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/gui/config_parser.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/gui/data_models.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/gui/db_editor_integration.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/gui/db_version_check.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/gui/dialogs/__init__.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/gui/dialogs/_modal_base.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/gui/dialogs/add_dialog.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/gui/dialogs/calibrate_dialog.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/gui/dialogs/file_picker.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/gui/dialogs/group_picker.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/gui/dialogs/local_solver_settings_dialog.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/gui/dialogs/message_box.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/gui/dialogs/message_list_window.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/gui/dialogs/migration_consent_dialog.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/gui/dialogs/migration_progress_dialog.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/gui/dialogs/plot_dialog.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/gui/dialogs/plot_settings_picker.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/gui/dialogs/project_dialog.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/gui/dialogs/project_package_dialog.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/gui/dialogs/update_dialog.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/gui/downsampling.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/gui/error_handling.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/gui/execution_manager.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/gui/execution_window.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/gui/hover_tooltip.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/gui/input_sources.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/gui/log_view.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/gui/main_window.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/gui/message_sources.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/gui/messages.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/gui/network_graph.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/gui/output_actions.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/gui/output_log_window.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/gui/platform_utils.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/gui/plot_cache.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/gui/plot_canvas.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/gui/plot_config_reader.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/gui/project_utils.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/gui/result_viewer.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/gui/scenario_key.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/gui/scenario_lists.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/gui/settings_io.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/gui/solve_reader.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/gui/tree_reorder.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/gui/ui_metrics.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/input_derivation/__init__.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/input_derivation/_commodity_ladder.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/input_derivation/_commodity_ladder_sets.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/input_derivation/_dc_power_flow.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/input_derivation/_method_constants.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/input_derivation/_piecewise.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/input_derivation/_process_method.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/input_derivation/_specs.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/input_derivation/_validators.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/lean_parquet.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/model_builder/__init__.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/model_builder/_special.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/model_builder/build_model.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/model_builder/encoding.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/model_builder/names.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/model_builder/profiles.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/plot_outputs/__init__.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/plot_outputs/axis_helpers.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/plot_outputs/color_template.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/plot_outputs/config.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/plot_outputs/format_helpers.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/plot_outputs/legend_helpers.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/plot_outputs/orchestrator.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/plot_outputs/perf.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/plot_outputs/plan.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/plot_outputs/plot_bars.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/plot_outputs/plot_bars_detail.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/plot_outputs/plot_lines.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/plot_outputs/shared_manifest.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/plot_outputs/subplot_helpers.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/plot_outputs/unit_labels.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/process_inputs/__init__.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/process_inputs/import_old_excel_input.json +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/process_inputs/read_matpower.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/process_inputs/read_old_flextool.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/process_inputs/read_self_describing_excel.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/process_inputs/read_tabular_with_specification.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/process_inputs/write_old_flextool_to_db.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/process_inputs/write_self_describing_to_db.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/process_inputs/write_to_input_db.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/process_outputs/__init__.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/process_outputs/_annualize.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/process_outputs/_csv_sidecars.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/process_outputs/_excel_writer.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/process_outputs/_fan_labels.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/process_outputs/_inmemory_helpers.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/process_outputs/_output_meta.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/process_outputs/_sheet_names.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/process_outputs/_timeline_breaks.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/process_outputs/_unit_context.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/process_outputs/calc_capacity_flows.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/process_outputs/calc_connections.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/process_outputs/calc_costs.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/process_outputs/calc_group_flows.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/process_outputs/calc_piecewise.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/process_outputs/calc_slacks.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/process_outputs/calc_storage_vre.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/process_outputs/handoff_writers.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/process_outputs/out_ancillary.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/process_outputs/out_capacity.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/process_outputs/out_costs.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/process_outputs/out_flowgroup.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/process_outputs/out_flows.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/process_outputs/out_group.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/process_outputs/out_node.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/process_outputs/persist_realized_slice.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/process_outputs/process_results.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/process_outputs/read_highs_solution.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/process_outputs/read_sets.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/process_outputs/read_variables.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/process_outputs/reduced_cells.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/process_outputs/solve_order.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/process_outputs/spinedb_replay.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/process_outputs/union_realized_slice.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/process_outputs/write_outputs.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/process_outputs/write_spinedb.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/project_package.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/representative_periods/__init__.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/representative_periods/clustering.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/representative_periods/force_include.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/representative_periods/netload.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/representative_periods/netload_inputs.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/representative_periods/netload_iterate.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/representative_periods/preprocess.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/representative_periods/scenario_stack.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/representative_periods/weights.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/run_options.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/run_record/__init__.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/run_record/_owner.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/run_record/_status.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/run_record/_tee.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/run_warnings/__init__.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/run_warnings/_behaviour_specs.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/run_warnings/_input_specs.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/run_warnings/registry.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/safe_names.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/scenario_comparison/__init__.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/scenario_comparison/config_builder.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/scenario_comparison/constants.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/scenario_comparison/data_models.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/scenario_comparison/db_reader.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/scenario_comparison/dispatch_data.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/scenario_comparison/dispatch_mappings.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/scenario_comparison/dispatch_plots.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/scenario_comparison/input_entity_colors.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/scenario_comparison/orchestrator.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/scenario_comparison/plan_union.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/scenario_comparison/plot_settings_seed.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/scenario_comparison/ramp_plots.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/schemas/AXIS_CONTRACT.md +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/schemas/canonical_databases/howto_aggregate_output.json +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/schemas/canonical_databases/howto_connections.json +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/schemas/canonical_databases/howto_demand.json +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/schemas/canonical_databases/howto_demand_response.json +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/schemas/canonical_databases/howto_hydro_reservoir.json +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/schemas/canonical_databases/howto_hydro_reservoir_with_pump.json +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/schemas/canonical_databases/howto_non_sync_and_curtailment.json +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/schemas/canonical_databases/howto_ramp_and_start_up.json +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/schemas/canonical_databases/howto_stochastics.json +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/schemas/canonical_databases/templates_examples.json +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/schemas/canonical_databases/templates_time_settings_only.json +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/schemas/comparison_settings_template.json +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/schemas/default_plot_settings.yaml +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/schemas/default_plots.yaml +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/schemas/flextool_axis_contract.json +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/schemas/flextool_axis_contract.schema.json +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/schemas/old_flextool_import_template.json +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/schemas/output_info_template.json +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/schemas/output_settings_template.json +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/schemas/pre_v26/flextool_template_constant_default.json +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/schemas/pre_v26/flextool_template_default_optional_output.json +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/schemas/pre_v26/flextool_template_default_value.json +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/schemas/pre_v26/flextool_template_drop_down.json +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/schemas/pre_v26/flextool_template_lifetime_method.json +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/schemas/pre_v26/flextool_template_optional_outputs.json +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/schemas/pre_v26/flextool_template_output_node_flows.json +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/schemas/pre_v26/flextool_template_results_master.json +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/schemas/pre_v26/flextool_template_rolling_start_remove.json +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/schemas/pre_v26/flextool_template_rolling_window.json +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/schemas/pre_v26/flextool_template_storage_binding_defaults.json +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/schemas/pre_v26/flextool_template_v2.json +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/schemas/pre_v26/flextool_template_v25.json +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/schemas/spinedb_results_schema.json +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/schemas/spinedb_schema.json +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/solver_config/copt.opt.template +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/solver_config/cplex.opt.template +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/solver_config/gurobi.opt.template +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/solver_config/highs.opt.template +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/solver_config/xpress.opt.template +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/spinedb_backend/__init__.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/spinedb_backend/_axis_enums.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/spinedb_backend/_backend.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/sqlite_url.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/timeline_pieces.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/units_of_measure.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/update_flextool/__init__.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/update_flextool/bundle_install.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/update_flextool/canonical_databases.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/update_flextool/db_handle.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/update_flextool/db_migration/__init__.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/update_flextool/db_migration/__main__.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/update_flextool/db_migration/common.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/update_flextool/db_migration/head.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/update_flextool/db_migration/runner.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/update_flextool/db_migration/v01_v25.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/update_flextool/db_migration/v26_v43.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/update_flextool/db_migration/v44_v49.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/update_flextool/db_migration/v50_v55.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/update_flextool/db_migration/v56_methods.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/update_flextool/db_migration/v56_renames.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/update_flextool/db_migration/v57_v69.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/update_flextool/db_migration/v70_v76.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/update_flextool/db_migration/v77.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/update_flextool/db_migration/v78.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/update_flextool/db_migration/v79.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/update_flextool/db_migration/v80.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/update_flextool/db_migration/v81.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/update_flextool/db_migration/v82.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/update_flextool/db_migration/v83.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/update_flextool/db_migration/v84_branching.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/update_flextool/ensure_settings_db.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/update_flextool/export_database.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/update_flextool/extend_tests_fixture.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/update_flextool/fixture_schema.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/update_flextool/frozen.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/update_flextool/generate_canonical.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/update_flextool/initialize_database.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/update_flextool/install_info.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/update_flextool/list_default_repair.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/update_flextool/list_default_restore.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/update_flextool/migrate_before_run.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/update_flextool/migration_backup.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/update_flextool/self_update.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/update_flextool/sync_master_json_template.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/update_flextool/test_fixtures.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/update_flextool/value_list_answers.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/update_flextool/value_list_archive.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/update_flextool/value_list_history.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/update_flextool/value_list_repair.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/update_flextool/value_list_suspects.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/update_flextool/value_list_write.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool/user_dirs.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool.egg-info/SOURCES.txt +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool.egg-info/dependency_links.txt +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool.egg-info/entry_points.txt +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool.egg-info/requires.txt +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool.egg-info/top_level.txt +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool_assistant_entry.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/flextool_run_supervisor.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/setup.cfg +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/tests/test_bar_layout.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/tests/test_bar_sub_pixel_labels.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/tests/test_blocks.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/tests/test_branch_weights.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/tests/test_child_python_safe_path.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/tests/test_child_run_argv.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/tests/test_ci_shard.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/tests/test_color_template.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/tests/test_commodity_ladder_rolling.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/tests/test_comparison_excel.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/tests/test_comparison_project_root.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/tests/test_comparison_results_registry.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/tests/test_complete_period_share_reduction.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/tests/test_connection_node_warnings.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/tests/test_console_run_tool.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/tests/test_cost_aggregation_semantics.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/tests/test_cost_breakdown_by_entity.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/tests/test_csv_dump_roundtrip.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/tests/test_dc_power_flow.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/tests/test_dependency_caps.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/tests/test_dispatch_consumer_and_connection_signs.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/tests/test_dispatch_multi_period.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/tests/test_dispatch_node_debug_and_tree.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/tests/test_dispatch_order_specials.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/tests/test_dispatch_scenario_tag.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/tests/test_ensure_settings_db.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/tests/test_entity_unitsize_invariant.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/tests/test_entity_universe_carrier.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/tests/test_env_check.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/tests/test_env_knob_registry.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/tests/test_excel_text_cells.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/tests/test_execution_log_lint.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/tests/test_export_to_tabular.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/tests/test_export_workbook_layout.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/tests/test_extend_tests_fixture.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/tests/test_flowgroup_indicators.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/tests/test_force_include.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/tests/test_group_output_warnings.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/tests/test_handoff_writers.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/tests/test_input_entity_colors.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/tests/test_invariant_guards.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/tests/test_lean_parquet.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/tests/test_lh2_three_region.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/tests/test_min_load_rolling.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/tests/test_model_builder_invest.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/tests/test_model_builder_special_functions.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/tests/test_non_anticipativity.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/tests/test_old_flextool_importer_schema_drift.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/tests/test_open_results_db.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/tests/test_output_column_metadata.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/tests/test_output_csv_names.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/tests/test_output_metadata_renderers.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/tests/test_output_work_folder_isolation.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/tests/test_parameter_group_coverage.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/tests/test_period_share_of_year_output.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/tests/test_piecewise_validation.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/tests/test_plan_union.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/tests/test_plot_draw_order.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/tests/test_plot_gaps.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/tests/test_plot_pipeline.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/tests/test_plot_plan_chunk_reconstruction.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/tests/test_plot_plan_time_labels_roundtrip.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/tests/test_plot_settings_seed.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/tests/test_project_package_cli.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/tests/test_ramp_histogram.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/tests/test_read_highs_solution.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/tests/test_recourse_cost_reconciliation.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/tests/test_regional_filter.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/tests/test_related_tests.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/tests/test_representative_periods.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/tests/test_rolling_online_carry.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/tests/test_rolling_online_mintime_carry.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/tests/test_rolling_online_minuptime.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/tests/test_rp_alternative_name.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/tests/test_rp_force_include_wiring.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/tests/test_rp_solves_filter.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/tests/test_run_options.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/tests/test_safe_names.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/tests/test_safe_text.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/tests/test_scenario_colors.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/tests/test_scenario_stack.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/tests/test_scenarios.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/tests/test_self_describing_reader.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/tests/test_shared_axis_manifest.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/tests/test_simple_bar_entity_color.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/tests/test_solve_config.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/tests/test_solve_reader.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/tests/test_specification_excel_import.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/tests/test_split_check.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/tests/test_sqlite_url.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/tests/test_stochastic_co2_total_price.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/tests/test_stream_concat_temp_cleanup.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/tests/test_support_load.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/tests/test_synthesize_invest_dual.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/tests/test_thread_budget.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/tests/test_time_runs.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/tests/test_timeline_breaks.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/tests/test_timings_csv.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/tests/test_toolbox_specs.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/tests/test_unidirectional_connection.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/tests/test_unit_online_dt_columns.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/tests/test_units_of_measure.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/tests/test_units_of_measure_validators.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/tests/test_user_dirs_isolation.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/tests/test_v52_migration.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/tests/test_v63_migration.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/tests/test_v64_migration.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/tests/test_v65_migration.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/tests/test_v66_migration.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/tests/test_v67_migration.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/tests/test_v68_migration.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/tests/test_v69_migration.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/tests/test_v70_migration.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/tests/test_workdir_empty_default.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/tests/test_xlsx_startup_input_round_trip.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/tests/test_xlsx_v77_round_trip.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/tests/test_xlsx_workflow.py +0 -0
- {flextool-4.7.2 → flextool-4.7.3}/tests/test_years_represented.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: flextool
|
|
3
|
-
Version: 4.7.
|
|
3
|
+
Version: 4.7.3
|
|
4
4
|
Summary: IRENA FlexTool is an energy and power systems model for understanding the role of variable power generation in future energy systems.
|
|
5
5
|
Author: IRENA FlexTool contributors
|
|
6
6
|
License: © International Renewable Energy Agency 2018-2022
|
|
@@ -279,7 +279,7 @@ The minimum time constraints work with variable timestep durations. The constrai
|
|
|
279
279
|
|
|
280
280
|
The look-back follows the timeline in the same way as ramp limits: it continues into a period whose time steps continue the previous period's on the same timeline and into the steps before a forecast branch starts, and stops at a gap in the timeline (the minimum time restarts after the gap), at the start of a representative period, at a period that reuses the same timeset as the previous one and at the first step of a solve. In rolling window solves, the start-ups and shut-downs that the previous roll realized count for the time steps of the next roll that continue its last realized step on the timeline, in the same way as the ramp continues: the same period, a period that continues it and every forecast branch that starts there (not a period that reuses the same timeset, a step after a gap or a representative-period start). So the solve horizon overlap does not need to cover the minimum times. A solve with longer time steps (for example a 6-hour storage roll after an hourly dispatch) continues the realized hourly step that ends where its own previous step ends, by position in time. A warning is printed only when a solve continues the timeline of an earlier solve but its first step neither follows nor ends at the earlier solve's last realized step (a hole or an overlap between the two), since no realized on-line history reaches it then.
|
|
281
281
|
|
|
282
|
-
If the unit also has ramp limits (`ramp_method` with `ramp_speed_up`, `ramp_speed_down`), the model additionally tightens the maximum output in the startup and pre-shutdown timesteps based on how fast the unit can ramp within one timestep. A unit that starts in a timestep reaches on average at most `min_load + ½ × ramp_speed_up × 60 × timestep duration` of the started capacity in that step (it synchronises at minimum load and then ramps up: half a step's ramp on average), and in the step before it shuts down at most `min_load + ½ × ramp_speed_down × 60 × timestep duration` (both capped at full output
|
|
282
|
+
If the unit also has ramp limits (`ramp_method` with `ramp_speed_up`, `ramp_speed_down`), the model additionally tightens the maximum output in the startup and pre-shutdown timesteps based on how fast the unit can ramp within one timestep. A unit that starts in a timestep reaches on average at most `min_load + ½ × ramp_speed_up × 60 × timestep duration` of the started capacity in that step (it synchronises at minimum load and then ramps up: half a step's ramp on average), and in the step before it shuts down at most `min_load + ½ × ramp_speed_down × 60 × timestep duration` (both capped at full output; `availability` limits the unit's total output through its capacity). A unit online for a single step gets the smaller of the two. On an input with a ramp limit of a unit with several inputs or outputs, the limit is on the input it draws (at minimum load it needs the input of its minimum-load output). Without ramp limits, the unit can reach full output immediately after starting.
|
|
283
283
|
|
|
284
284
|
Startups and shutdowns count exactly the units coming online and going offline. A unit with online variables ramps on its online capacity: the units online in both steps change by at most the ramp; a unit starting in a step reaches at most the startup-step output above, and a unit shutting down drops from at least its minimum load (and, in the step before, at most the pre-shutdown output). Starting and stopping units in the same step therefore gives no extra ramp room on a unit's output. On an input, or on one output of a unit with several outputs, a start/stop pair can still gain up to the minimum-load share of that flow, which the startup cost pays for.
|
|
285
285
|
|
|
@@ -8,7 +8,7 @@ Connections can transfer energy between two nodes. Parameters for the connection
|
|
|
8
8
|
- it cannot model losses (a loss one way would be a gain the other way), so its `efficiency` is ignored (treated as 1, with a warning: W-0591) when the two nodes have the same `unit_of_measure` or either has none, and always on a line of a `dc_power_flow_with_angles` group. For losses, use *regular* or *exact*.
|
|
9
9
|
- between nodes with different `unit_of_measure` values, the `efficiency` is a conversion between the units (e.g. MWh to t), the same in both directions: the flow f arriving at the second node takes f / `efficiency` from the first, and in the reverse direction the first node gets f / `efficiency` for the f taken from the second. FlexTool warns about it (W-0589).
|
|
10
10
|
- its `other_operational_cost` is ignored (it would be a cost one way and a revenue the other), with a warning (W-0590). For a variable cost, use *variable_cost_only*, *regular* or *exact*.
|
|
11
|
-
- `startup_method` gives the connection online capacity. *linear*: the online capacity is anything between 0 and the built capacity; *integer*: whole units of the connection (of `virtual_unitsize`, else the whole connection), computationally more demanding; *linear_fix_in_uc* and *integer_fix_in_uc*: the same, and in a separate realization solve the online capacity over the jump (the realized periods) is kept at what the stochastic solve chose. The connection's flow in each direction is limited by its online capacity × availability, its reserve by its online capacity, and `startup_cost` is paid per MW brought online. Connections have no minimum load or minimum up/down times. Not available for connections in a `dc_power_flow_with_angles` group, other than `is_DC` connections (an error: switching a DC power-flow line off would need line-switching constraints).
|
|
11
|
+
- `startup_method` gives the connection online capacity. *linear*: the online capacity is anything between 0 and the built capacity; *integer*: whole units of the connection (of `virtual_unitsize`, else the whole connection), computationally more demanding; *linear_fix_in_uc* and *integer_fix_in_uc*: the same, and in a separate realization solve the online capacity over the jump (the realized periods) is kept at what the stochastic solve chose. The connection's flow in each direction is limited by its online capacity and by its built capacity × availability, its reserve by its online capacity, and `startup_cost` is paid per MW brought online. Connections have no minimum load or minimum up/down times. Not available for connections in a `dc_power_flow_with_angles` group, other than `is_DC` connections (an error: switching a DC power-flow line off would need line-switching constraints).
|
|
12
12
|
- `invest_method` to define investment and retirement limits: either *not_allowed* or then a combination of
|
|
13
13
|
- *invest* and/or *retire*
|
|
14
14
|
- investment limits for each *period* and/or for all periods (*total*) or *no_limit*
|
|
@@ -70,7 +70,7 @@ A unit can only offer reserve that reduces its flow as far as its flow allows: d
|
|
|
70
70
|
|
|
71
71
|
Reserve that raises a unit's flow needs headroom: upward reserve at a node the unit feeds and downward reserve at a node it consumes from (consuming more) cannot exceed the free capacity of that flow (built capacity; online capacity for a unit with online variables), so a unit at full consumption offers no downward reserve at its input, and an offline unit none. A downward reserve at the input node of a unit with one input and one output is converted to output flow by the unit's efficiency; such a unit with several outputs needs the headroom on each output. A unit with several inputs is only kept within that input's capacity, and its upward reserve at an output and downward reserve at an input (both "burn more") are each checked against the unit's capacity separately, not together. The effective limit is the smaller of these and `max_share` × capacity. A connection's reserve at a node is limited by its net position there: upward reserve by its free capacity towards the node plus the flow it sends away from the node (which it can stop), downward reserve by the flow it brings to the node plus its free capacity away from it (power at the node, after losses). A one-way connection can therefore offer upward reserve at its sending node only up to what it draws there. For a connection with online variables the online capacity counts; for an *exact* connection, the capacity of the direction it is set to.
|
|
72
72
|
|
|
73
|
-
A unit with online variables (a `startup_method` other than `no_startup`, or a `minimum_time_method` other than *none*) holds upward reserve only from its online capacity: at a node the unit feeds, its output plus the upward reserve it holds there cannot exceed online capacity
|
|
73
|
+
A unit with online variables (a `startup_method` other than `no_startup`, or a `minimum_time_method` other than *none*) holds upward reserve only from its online capacity: at a node the unit feeds, its output plus the upward reserve it holds there cannot exceed its online capacity (× `capacity_max_coeff`), and for a unit with several outputs the sum of its outputs plus the upward reserve held at them cannot exceed its online capacity; both also stay within the built capacity × availability, as for every unit. An offline unit therefore offers no upward reserve, and an upward reserve requirement can make it worth committing a unit. This is a simplification: offline units are assumed unable to start within the reserve's activation time (reserve activation time versus unit start-up time is not modelled yet). Units without online variables are limited by their built capacity.
|
|
74
74
|
|
|
75
75
|
A unit with ramp limits (`ramp_method` `ramp_limit` or `both`) can hold upward reserve only within its upward ramp room of the time step after the change of its flow from the previous step, and downward reserve within its downward ramp room: the flow plus the upward reserve may rise from the previous step's flow by at most `ramp_speed_up × 60 × (average duration of the two steps) × capacity`, and the flow minus the downward reserve may fall by at most the same with `ramp_speed_down` (so a unit ramping down in a step can hold more upward reserve in it). "Consume more" downward reserve at a node the unit consumes from uses the ramp room of that input (an upward input ramp), converted by the efficiency on a unit with one input and one output; upward reserve there (consume less) uses the downward room. In the first step of a solve, and after a gap in the timeline, the reserve alone is limited to one step's room, using the online capacity for a unit with online variables. For units with online variables the reserve uses the ramp room of the unit's online capacity: a unit starting or stopping in a step is limited by its startup / shutdown output there instead (see the how-to on start-ups), not by any extra room from declaring the start or stop itself. The ramp room is per model step; the reserve's activation time is not considered.
|
|
76
76
|
|
|
@@ -23,12 +23,12 @@ Units convert energy (or matter) from one form to another (e.g. open cycle gas t
|
|
|
23
23
|
|
|
24
24
|
- the sum of the unit's output flows >= min_load * online capacity
|
|
25
25
|
|
|
26
|
-
The output flows are the ones that define the unit's capacity: all outputs with a non-zero `conversion_flow_coeff` (for a unit with one input and one output, its single flow; for a unit without outputs, its input). Inputs never have their own minimum: a unit with several inputs can run on any mix of them (use `input_share_min` to require a share of an input). The floor is not scaled by `availability
|
|
26
|
+
The output flows are the ones that define the unit's capacity: all outputs with a non-zero `conversion_flow_coeff` (for a unit with one input and one output, its single flow; for a unit without outputs, its input). Inputs never have their own minimum: a unit with several inputs can run on any mix of them (use `input_share_min` to require a share of an input). The floor is not scaled by `availability`: availability derates the unit's capacity (the flow ≤ capacity × `availability`), so with an availability below `min_load` the unit can still be online with fewer units online (at most capacity × `availability` / `min_load`). `capacity_min_coeff` on an output does not lower this floor; to lower or switch off the minimum load, lower `min_load` (0 switches it off; no value means 0, so a unit with an online variable does not need a `min_load`). Downward reserve (and upward reserve at an input node, i.e. reduced consumption) offered by the unit cannot take its outputs below this floor (see [Reserves](reserves.md)).
|
|
27
27
|
|
|
28
28
|
- `efficiency_at_min_load` - [-] Output / input at minimum load, like `efficiency` (e.g. 0.4; may be above 1). Efficiency of a `min_load_efficiency` unit at its minimum load; the fuel use is linear between minimum load at this efficiency and full load at `efficiency`. Matters only for a unit with a `min_load` above 0 (with `min_load` 0 the unit uses `efficiency`). Without a value (or for the periods or timesteps a map leaves out) the unit uses `efficiency` at minimum load too, i.e. a flat curve as with *constant_efficiency*, while its minimum load still applies; a warning names such units. Constant, period, time or period+time.
|
|
29
29
|
|
|
30
30
|
|
|
31
|
-
- `availability` - [e.g. 0.9 means 90%] Fraction of capacity available for flows from/to the unit
|
|
31
|
+
- `availability` - [e.g. 0.9 means 90%] Fraction of capacity available for flows from/to the unit: the flows (and the upward reserve) are limited to capacity × `availability`. For a unit with online variables, availability derates the capacity, not the units online nor the output of a unit online: each unit online keeps its full capacity and its `min_load`, so a unit whose availability is below its `min_load` can still be online, with fewer units online (at most capacity × `availability` / `min_load`; a single *integer* unit stays online at that output if `min_load` ≤ `availability`). A fall in availability therefore does not start or stop units unless `min_load` forces fewer units online. Inertia counts the units online, which availability does not limit. In the capacity margin of a group the unit counts at capacity × `availability`. Constant, period, time, period+time or stochastic time.
|
|
32
32
|
- Economic: `startup_cost` ([CUR/MW] cost of starting up one MW of capacity; constant or period), `fixed_cost` (fuel cost comes through the use of fuel commodities and other variable costs are defined for flows between unit and node, see below)
|
|
33
33
|
|
|
34
34
|
## Part-load efficiency curve (piecewise_linear)
|
|
@@ -470,7 +470,8 @@ The bands (the down bands are stored as negative numbers):
|
|
|
470
470
|
potential of a VRE unit that also touches a storage node is not subtracted: that unit is in the storage band.
|
|
471
471
|
- *ramp_demand* — the same for the demand alone (demand = −`inflow`).
|
|
472
472
|
- *units_up* / *units_down* — how much the units with a flow at the node can raise / lower the supply at t⁺: up to
|
|
473
|
-
their capacity × availability at t⁺
|
|
473
|
+
their capacity × availability at t⁺ (units with online variables: also within the capacity of the units online in
|
|
474
|
+
both steps, at full output) and down to their minimum load, within their ramp limits, minus the reserve
|
|
474
475
|
they hold at t⁺ in that direction. A unit that takes from the node (an input) raises the supply by consuming less;
|
|
475
476
|
its input is converted with the efficiency of each step. Units with online variables count only the units online
|
|
476
477
|
in both steps: the output of a unit that starts at t⁺, and the drop of a unit that stops at t⁺, is forced
|
|
@@ -484,7 +485,8 @@ The bands (the down bands are stored as negative numbers):
|
|
|
484
485
|
rise is in the net-load line). *vre_down* is how much less than the potential allows the VRE units can give at
|
|
485
486
|
t⁺; it can be larger than the VRE's own output, because it includes curtailing the coming rise of the potential.
|
|
486
487
|
- *connections_up* / *connections_down* — how much the connections can raise / lower the flow into the node at
|
|
487
|
-
t⁺, within their capacity × availability at t⁺ in each direction (
|
|
488
|
+
t⁺, within their capacity × availability at t⁺ in each direction (with online variables: also within the
|
|
489
|
+
capacity of the units online; losses on the sending side: an export at full
|
|
488
490
|
capacity draws capacity ÷ efficiency), minus the reserve the connection holds at the node at t⁺. The far end of
|
|
489
491
|
the connection is not considered.
|
|
490
492
|
|
|
@@ -930,10 +930,12 @@ def snapshot_solver_option_files(
|
|
|
930
930
|
work_folder: str | os.PathLike,
|
|
931
931
|
logger: logging.Logger | None = None,
|
|
932
932
|
names: tuple[str, ...] = SOLVER_NAMES,
|
|
933
|
+
announce: bool = True,
|
|
933
934
|
) -> SolverOptionFiles:
|
|
934
935
|
"""Read the run's option files once and write them to ``<work_folder>/solve_data/solver_config/``.
|
|
935
936
|
|
|
936
|
-
Every run writes the snapshot afresh (an older one is replaced). Logs the ladder (``Solver config
|
|
937
|
+
Every run writes the snapshot afresh (an older one is replaced). Logs the ladder (``Solver config:``; not
|
|
938
|
+
with ``announce=False``, for a caller whose header shows it already), one
|
|
937
939
|
warning when no folder was found (or one per folder skipped as an unedited template copy, which also names the
|
|
938
940
|
folder used), one warning per folder of the ladder that does not exist, for a one-folder ladder one line for
|
|
939
941
|
the solvers that use the packaged default, and one warning when a ``<work_folder>/solver_config/`` from an
|
|
@@ -942,7 +944,8 @@ def snapshot_solver_option_files(
|
|
|
942
944
|
"""
|
|
943
945
|
log = logger or _logger
|
|
944
946
|
files = read_solver_option_files(source, names)
|
|
945
|
-
|
|
947
|
+
if announce:
|
|
948
|
+
log.info("Solver config: %s", source.describe())
|
|
946
949
|
for folder in source.skipped:
|
|
947
950
|
log.warning(
|
|
948
951
|
"Not using %s: it holds only FlexTool's default option files (probably copied there by FlexTool 4.3 "
|
|
@@ -397,7 +397,7 @@ def format_console_summary(
|
|
|
397
397
|
return parts[0] + "".join(f"\n -> {p}" for p in parts[1:])
|
|
398
398
|
|
|
399
399
|
|
|
400
|
-
def format_nonoptimal_hint(ranges: RangeReport) -> str:
|
|
400
|
+
def format_nonoptimal_hint(ranges: RangeReport, *, highs_parallel: bool = False) -> str:
|
|
401
401
|
"""Compose the scaling-related *possibility* hint for a rejected solve.
|
|
402
402
|
|
|
403
403
|
Returns the empty string unless ``ranges.trigger`` is ``True``. The
|
|
@@ -409,6 +409,9 @@ def format_nonoptimal_hint(ranges: RangeReport) -> str:
|
|
|
409
409
|
status, and passing the raw pre-autoscale ranges here (which are always
|
|
410
410
|
wide for FlexTool's commodity ladders) would make the hint fire on
|
|
411
411
|
essentially every failure regardless of cause.
|
|
412
|
+
|
|
413
|
+
``highs_parallel`` says the solve ran HiGHS in parallel mode (``parallel`` not ``off``); only then does the
|
|
414
|
+
hint suggest a single-thread re-run, which a serial solve has already done.
|
|
412
415
|
"""
|
|
413
416
|
if not ranges.trigger:
|
|
414
417
|
return ""
|
|
@@ -422,14 +425,17 @@ def format_nonoptimal_hint(ranges: RangeReport) -> str:
|
|
|
422
425
|
rhs_span = _span_decades(ranges.rhs)
|
|
423
426
|
cost_span = _span_decades(ranges.cost)
|
|
424
427
|
|
|
428
|
+
threads_line = (
|
|
429
|
+
" - Re-run with --highs-threads 1 to bypass parallel-mode "
|
|
430
|
+
"brittleness\n"
|
|
431
|
+
) if highs_parallel else ""
|
|
425
432
|
return (
|
|
426
433
|
"The solved (post-autoscale) LP is still wide-ranged "
|
|
427
434
|
f"(RHS spans {rhs_span}, Cost spans {cost_span}), so scaling MAY be "
|
|
428
435
|
"a contributing factor. Possible remediations:\n"
|
|
429
436
|
" - Check unit conventions on commodity-ladder entities "
|
|
430
437
|
"(set unitsize so quantity/unitsize <= 1e+6)\n"
|
|
431
|
-
"
|
|
432
|
-
"brittleness\n"
|
|
438
|
+
f"{threads_line}"
|
|
433
439
|
" - Re-run with --scaling=solver_only if you suspect the "
|
|
434
440
|
"autoscaler interferes (HiGHS' internal scaling still runs)"
|
|
435
441
|
)
|
|
@@ -30,7 +30,7 @@ from flextool.engine.input._param_shapes import promote_param_to_dt
|
|
|
30
30
|
from flextool.engine.preprocess.params._ramp_links import online_free_start_cells
|
|
31
31
|
from flextool.engine.model import _coarse_flows, _extend, _retire_built
|
|
32
32
|
from flextool.engine.model._common import (
|
|
33
|
-
|
|
33
|
+
_capped_arcs, _coef_factor, _drop_uncapped, _entity_rows, _has_rows, _indirect_input_cap,
|
|
34
34
|
_indirect_sum_arcs, _utf8_keys, _var_view,
|
|
35
35
|
)
|
|
36
36
|
|
|
@@ -217,7 +217,9 @@ def add_constraints(b: "_Build") -> None:
|
|
|
217
217
|
# ─────────────────────────────────────────────────────────────────────
|
|
218
218
|
# v_online[p,d,t] − Σ v_invest_p[p,d′] + Σ v_divest_p[p,d′] ≤ existing_count[p,d]
|
|
219
219
|
# ∀ (p,d,t) ∈ p_idx
|
|
220
|
-
# Units online cannot exceed the units built.
|
|
220
|
+
# Units online cannot exceed the units built. Availability does not limit the units online: it derates
|
|
221
|
+
# the built capacity (maxFlow, maxOutputSum), and a unit online has its full capacity in the online rows
|
|
222
|
+
# below, so the flow is at most min(κ · v_online, κ · availability · capacity).
|
|
221
223
|
# Capacity in service: invested[e,d], retired[e,d] (and prebuilt[e,d]) of _capacity, the retirements of
|
|
222
224
|
# existing capacity counting until its end of life (none for reinvest_automatic).
|
|
223
225
|
m.add_cstr(f"maxOnline{sfx}", over=rows, sense="<=",
|
|
@@ -342,22 +344,22 @@ def add_constraints(b: "_Build") -> None:
|
|
|
342
344
|
# ─── EQ. ─── maxFlow_online_{linear,integer} ─────────────────────────
|
|
343
345
|
# ─────────────────────────────────────────────────────────────────────
|
|
344
346
|
# v_flow[p,s,k,d,t] + Σ_r v_reserve_up[p,r,k,d,t] + Σ_r v_reserve_down[p,r,s,d,t] · φ[p,s,k,d,t]
|
|
345
|
-
# ≤ κ[p,s,k] · ( v_online[p,d,t]
|
|
347
|
+
# ≤ κ[p,s,k] · ( v_online[p,d,t] − red_su[p,s,k,d,t] · v_startup[p,d,t]
|
|
346
348
|
# − max(0, red_sd − red_su)[p,s,k,d,t] · v_shutdown[p,d,t⁺] )
|
|
347
349
|
# ∀ (p,s,k) capped arc of an online process, (d,t) ∈ dt; φ as in maxFlow, units only;
|
|
348
350
|
# κ = capacity_max_coeff[p,s,k]
|
|
349
351
|
# ─── EQ. ─── maxFlow_online_shutdown_{linear,integer} ────────────────
|
|
350
352
|
# (maxFlow_online LHS)
|
|
351
|
-
# ≤ κ · ( v_online
|
|
353
|
+
# ≤ κ · ( v_online − red_sd · v_shutdown[p,d,t⁺]
|
|
352
354
|
# − max(0, red_su − red_sd) · v_startup[p,d,t] )
|
|
353
355
|
# ∀ rows of maxFlow_online with red_sd > 0 and a UNIQUE successor t⁺
|
|
354
356
|
# ─── EQ. ─── maxFlow_online_shutdown_branch_{linear,integer} ─────────
|
|
355
357
|
# (maxFlow_online LHS)
|
|
356
|
-
# ≤ κ · ( v_online
|
|
358
|
+
# ≤ κ · ( v_online − red_sd · v_shutdown[p,d⁺,t⁺]
|
|
357
359
|
# − max(0, red_su − red_sd) · v_startup[p,d,t] )
|
|
358
360
|
# ∀ (row of maxFlow_online, successor (d⁺,t⁺) of (d,t)) with red_sd > 0, at a (d,t) with SEVERAL
|
|
359
361
|
# successors (a branch point: several mid-horizon branches continuing from the same trunk step)
|
|
360
|
-
# red_su =
|
|
362
|
+
# red_su = 1 − SU,
|
|
361
363
|
# SU = min(1, min_load[p,d,t] + ½ · ramp_speed_up · 60 · step_duration[d,t])
|
|
362
364
|
# over the sides of the arc with an up ramp limit (process_source_sink_ramp_limit_{sink,source}_up; the
|
|
363
365
|
# smaller SU when both); red_sd likewise with ramp_speed_down at the pre-shutdown step (d,t); 0 without a
|
|
@@ -365,16 +367,17 @@ def add_constraints(b: "_Build") -> None:
|
|
|
365
367
|
# (today's only case) or the next continuing period (#98).
|
|
366
368
|
# A coarse process (processCoarse): the averaged twins maxFlow_online{sfx}_coarse,
|
|
367
369
|
# maxFlow_online_shutdown{sfx}_coarse and maxFlow_online_shutdown_branch{sfx}_coarse (_coarse_flows.add_cstr)
|
|
368
|
-
# with the reduction on the coarse grid: red_su[p,s,k,d,b] =
|
|
369
|
-
# red_sd =
|
|
370
|
-
# step's ramp predecessor lies in b, _coarse_flows.coarse_links);
|
|
370
|
+
# with the reduction on the coarse grid: red_su[p,s,k,d,b] = 1 − SU_b at the start-ups of b and
|
|
371
|
+
# red_sd = 1 − SD_b at the shut-downs of the coarse successor b⁺ (the coarse step whose first
|
|
372
|
+
# step's ramp predecessor lies in b, _coarse_flows.coarse_links); m̄l_b the Δt-weighted mean over b,
|
|
371
373
|
# SU_b = m̄l_b + ½·ρ_b while ρ_b ≤ 1 − m̄l_b, else 1 − (1 − m̄l_b)²/(2·ρ_b), ρ_b = ramp_speed_up · 60 · Δ_b
|
|
372
374
|
# (the mean share over the whole step of a unit started at its start that ramps up to full load within
|
|
373
375
|
# it; SD_b with the down speed: a unit stopping at the end of b); κ its step mean.
|
|
374
376
|
# A unit's flow and the reserve that raises it — upward reserve at the arc's sink and
|
|
375
377
|
# "consume more" downward reserve at its source — are limited by the units online
|
|
376
|
-
# (spinning reserve: an offline unit holds neither).
|
|
377
|
-
#
|
|
378
|
+
# (spinning reserve: an offline unit holds neither). A unit online has its full capacity: availability
|
|
379
|
+
# derates the built capacity (maxFlow), not the output of a unit online. The reserve terms are maxFlow's
|
|
380
|
+
# (units only; an online connection's reserve is in connection_reserve_*_online_*).
|
|
378
381
|
# Units starting in step t reach at most SU of their capacity on average over the step (synchronised at
|
|
379
382
|
# min load, then ramping as fast as they may: half a step's ramp on average; owner question Q-c14a-A),
|
|
380
383
|
# units shutting down after step t at most SD in t. Two rows, so capacity online for a single step gets
|
|
@@ -387,16 +390,13 @@ def add_constraints(b: "_Build") -> None:
|
|
|
387
390
|
# row would let several mutually-exclusive branches each buy back a whole unit of ramp room from the
|
|
388
391
|
# trunk step. Only capped arcs (direct arcs and indirect
|
|
389
392
|
# output arcs, see _capped_arcs): indirect input arcs are tied to the outputs by
|
|
390
|
-
# conversion_indirect, and conversion_flow_coeff = 0 arcs are uncapped.
|
|
391
|
-
#
|
|
392
|
-
#
|
|
393
|
+
# conversion_indirect, and conversion_flow_coeff = 0 arcs are uncapped. capacity_max_coeff is
|
|
394
|
+
# densified to its 1.0 default so an unauthored unit keeps its row. The reduction is per arc (a
|
|
395
|
+
# multi-output unit's maxOutputSum_online is not reduced).
|
|
393
396
|
pss_online = _capped_arcs(d, d.process_source_sink.join(online_set, on="p", how="inner"))
|
|
394
397
|
if pss_online.height > 0:
|
|
395
398
|
over_pss_online = pss_online.join(d.dt, how="cross")
|
|
396
|
-
|
|
397
|
-
online_rhs = v_online * _availability_factor(d, pss_online)
|
|
398
|
-
else:
|
|
399
|
-
online_rhs = v_online
|
|
399
|
+
online_rhs = v_online
|
|
400
400
|
if d.p_arc_max_cap_coef is not None:
|
|
401
401
|
online_rhs = online_rhs * _coef_factor(pss_online, d.p_arc_max_cap_coef, ["p", "source", "sink"])
|
|
402
402
|
online_lhs: dict = {"flow": v_flow}
|
|
@@ -455,10 +455,11 @@ def add_constraints(b: "_Build") -> None:
|
|
|
455
455
|
|
|
456
456
|
# ─── EQ. ─── maxFlow_back_online_{linear,integer} ────────────────────
|
|
457
457
|
# ─────────────────────────────────────────────────────────────────────
|
|
458
|
-
# v_flow_back[p,s,k,d,t] ≤ κ[p,s,k] ·
|
|
458
|
+
# v_flow_back[p,s,k,d,t] ≤ κ[p,s,k] · v_online[p,d,t]
|
|
459
459
|
# ∀ (p,s,k) ∈ twoway1var_arcs with p online, (d,t) ∈ dt; κ = capacity_max_coeff (1.0 defaults)
|
|
460
460
|
# The reverse flow of a one-variable connection is limited by the units online, as its v_flow is by
|
|
461
|
-
# maxFlow_online: one online status covers both directions (the mirror of maxFlow_back)
|
|
461
|
+
# maxFlow_online: one online status covers both directions (the mirror of maxFlow_back); availability derates
|
|
462
|
+
# the built capacity there (maxFlow_back), as for v_flow. No reserve
|
|
462
463
|
# term (connection reserve has its own rows, connection_reserve_*). DC power-flow lines never get here
|
|
463
464
|
# (a startup_method on them raises in core._prepare._prepare).
|
|
464
465
|
if b.v_flow_back is not None and _has_rows(b.twoway1var_arcs):
|
|
@@ -469,8 +470,6 @@ def add_constraints(b: "_Build") -> None:
|
|
|
469
470
|
.select(keys).collect())
|
|
470
471
|
if back_on.height > 0:
|
|
471
472
|
back_rhs = v_online
|
|
472
|
-
if d.p_process_availability is not None:
|
|
473
|
-
back_rhs = back_rhs * _availability_factor(d, back_on)
|
|
474
473
|
if d.p_arc_max_cap_coef is not None:
|
|
475
474
|
back_rhs = back_rhs * _coef_factor(back_on, d.p_arc_max_cap_coef, keys)
|
|
476
475
|
_coarse_flows.add_cstr(b, f"maxFlow_back_online{sfx}", over=back_on.join(d.dt, how="cross"),
|
|
@@ -480,33 +479,33 @@ def add_constraints(b: "_Build") -> None:
|
|
|
480
479
|
# ─── EQ. ─── maxInputFlow_online_{linear,integer} ────────────────────
|
|
481
480
|
# ─────────────────────────────────────────────────────────────────────
|
|
482
481
|
# v_flow[p,s,p,d,t] + Σ_r v_reserve_down[p,r,s,d,t]
|
|
483
|
-
# ≤ input_cap[p,s,p,d,t] · ( v_online[p,d,t]
|
|
482
|
+
# ≤ input_cap[p,s,p,d,t] · ( v_online[p,d,t] − red_su · v_startup[p,d,t]
|
|
484
483
|
# − max(0, red_sd − red_su) · v_shutdown[p,d,t⁺] )
|
|
485
484
|
# ∀ (p,s,p) input arc of an online indirect unit that is in reserve_down_input_arcs or has a source-side
|
|
486
485
|
# ramp limit with a reduction, (d,t) ∈ dt
|
|
487
486
|
# input_cap = p_indirect_input_cap (input_share_max × full-load input per unit of capacity)
|
|
488
487
|
# ─── EQ. ─── maxInputFlow_online_shutdown_{linear,integer} ───────────
|
|
489
|
-
# (maxInputFlow_online LHS) ≤ input_cap · ( v_online
|
|
488
|
+
# (maxInputFlow_online LHS) ≤ input_cap · ( v_online − red_sd · v_shutdown[p,d,t⁺]
|
|
490
489
|
# − max(0, red_su − red_sd) · v_startup[p,d,t] )
|
|
491
490
|
# ∀ rows of maxInputFlow_online with red_sd > 0 and a UNIQUE successor t⁺
|
|
492
491
|
# ─── EQ. ─── maxInputFlow_online_shutdown_branch_{linear,integer} ────
|
|
493
|
-
# (maxInputFlow_online LHS) ≤ input_cap · ( v_online
|
|
492
|
+
# (maxInputFlow_online LHS) ≤ input_cap · ( v_online − red_sd · v_shutdown[p,d⁺,t⁺]
|
|
494
493
|
# − max(0, red_su − red_sd) · v_startup[p,d,t] )
|
|
495
494
|
# ∀ (row of maxInputFlow_online, successor (d⁺,t⁺) of (d,t)) with red_sd > 0, at a (d,t) with several
|
|
496
495
|
# successors (a branch point) — split per successor exactly as maxFlow_online_shutdown_branch,
|
|
497
496
|
# never summed across mutually-exclusive branches.
|
|
498
497
|
# x(y) = (slope · W(y) + section) / (slope · W(1) + section): the input drawn at output level y per unit of
|
|
499
498
|
# full-load input (W(y): the output-side fuel width filled up to y, as in p_indirect_input_cap; section
|
|
500
|
-
# only for min_load_efficiency units).
|
|
501
|
-
#
|
|
502
|
-
#
|
|
503
|
-
# red_su =
|
|
499
|
+
# only for min_load_efficiency units). A unit online draws up to its full-load input (x(1) = 1):
|
|
500
|
+
# availability derates the built capacity (maxFlow on the input arc, input_cap · x(availability)), not the
|
|
501
|
+
# input of a unit online.
|
|
502
|
+
# red_su = 1 − SU_in, SU_in = min(1, x(min_load) / input_share_max[p,s]
|
|
504
503
|
# + ½ · ramp_speed_up · 60 · step_duration) from the input node's ramp speeds (red_sd likewise), so a
|
|
505
504
|
# started unit can always draw what it needs at min load. (d⁺,t⁺) = a successor whose ramp
|
|
506
505
|
# predecessor (dt_ramp_link) is (d,t) — the same period (today's only case) or the next continuing
|
|
507
506
|
# period (#98).
|
|
508
507
|
# A coarse process: the averaged twins maxInputFlow_online{sfx}_coarse (+ _shutdown, _shutdown_branch), with
|
|
509
|
-
# input_cap
|
|
508
|
+
# input_cap as its step mean and the reduction on the coarse grid as in maxFlow_online
|
|
510
509
|
# (SU_in_b, SD_in_b from the step-mean x(min_load) / input_share_max and ρ_b).
|
|
511
510
|
# The online analogue of maxFlow on an indirect unit's input arc: consuming more needs online capacity,
|
|
512
511
|
# and a starting (stopping) unit draws at most its startup (pre-shutdown) share of the input. The other
|
|
@@ -515,11 +514,11 @@ def add_constraints(b: "_Build") -> None:
|
|
|
515
514
|
|
|
516
515
|
# ─── EQ. ─── maxOutputSum_online_{linear,integer} ────────────────────
|
|
517
516
|
# ─────────────────────────────────────────────────────────────────────
|
|
518
|
-
# Σ_k v_flow[p,p,k,d,t] + Σ_k Σ_r v_reserve_up[p,r,k,d,t] ≤ v_online[p,d,t]
|
|
517
|
+
# Σ_k v_flow[p,p,k,d,t] + Σ_k Σ_r v_reserve_up[p,r,k,d,t] ≤ v_online[p,d,t]
|
|
519
518
|
# ∀ p ∈ process_indirect online with an output arc k, (p,d,t) ∈ p_idx
|
|
520
519
|
# The online analogue of maxOutputSum: the sum of an indirect unit's outputs and of the
|
|
521
520
|
# upward reserve it holds at those outputs is limited by the units online. No
|
|
522
|
-
# capacity_max_coeff term
|
|
521
|
+
# capacity_max_coeff term, and no availability (it derates the built capacity, maxOutputSum).
|
|
523
522
|
sum_arcs = _indirect_sum_arcs(d)
|
|
524
523
|
if sum_arcs is not None:
|
|
525
524
|
sum_arcs_on = sum_arcs.join(online_set.select("p").unique(), on="p", how="semi")
|
|
@@ -528,10 +527,6 @@ def add_constraints(b: "_Build") -> None:
|
|
|
528
527
|
.join(d.dt, how="cross")
|
|
529
528
|
.join(p_idx.select("p", "d", "t"), on=["p", "d", "t"], how="semi"))
|
|
530
529
|
if over_sum_on.height > 0:
|
|
531
|
-
if d.p_process_availability is not None:
|
|
532
|
-
sum_online_rhs = v_online * _availability_factor(d, sum_arcs_on)
|
|
533
|
-
else:
|
|
534
|
-
sum_online_rhs = v_online
|
|
535
530
|
sum_lhs: dict = {"flow": Sum(Where(v_flow, sum_arcs_on), over=("source", "sink"))}
|
|
536
531
|
if b.reserve_up_sink_parts is not None:
|
|
537
532
|
reserve_at_sink, up_sink = b.reserve_up_sink_parts
|
|
@@ -542,7 +537,7 @@ def add_constraints(b: "_Build") -> None:
|
|
|
542
537
|
_coarse_flows.add_cstr(b, f"maxOutputSum_online{sfx}",
|
|
543
538
|
over=over_sum_on, sense="<=",
|
|
544
539
|
lhs_terms=sum_lhs,
|
|
545
|
-
rhs_terms={"online":
|
|
540
|
+
rhs_terms={"online": v_online})
|
|
546
541
|
|
|
547
542
|
# ─── EQ. ─── minimum_uptime_{linear,integer} ─────────────────────────
|
|
548
543
|
# ─────────────────────────────────────────────────────────────────────
|
|
@@ -559,15 +554,18 @@ def add_constraints(b: "_Build") -> None:
|
|
|
559
554
|
# carry_up[p,d,t] = Σ_{h ∈ online_history} startup[p,h] over the root r ∈ dt_ramp_carry that is (d,t) or an
|
|
560
555
|
# ancestor of it along dt_ramp_link, with elapsed(r → d,t) + hours_to_end[h] < min_uptime[p]
|
|
561
556
|
# (d.uptime_carry, 0-filled; absent where no step continues the previous solve's last realized step),
|
|
562
|
-
#
|
|
563
|
-
# min_load[p,d,t]}, κ = Σ_{A_p} capacity_max_coeff (min(Σ, 1) for an indirect unit, maxOutputSum_online)
|
|
564
|
-
# (_mintime.online_blocked_cells: the unit cannot be online there; a coarse process at the first fine step
|
|
565
|
-
# b of each coarse step on ā_b, m̄l_b, as its rows): a carried obligation yields to an outage the solve
|
|
566
|
-
# that started the unit did not see (W-0592; not under a reduce_unit_detail_method with min_limits).
|
|
567
|
-
# Then capped: carry_up[p,d,t] ≤ ĉ[p] = p_roll_continue_online[p] (the units online carried in), so an
|
|
557
|
+
# capped: carry_up[p,d,t] ≤ ĉ[p] = p_roll_continue_online[p] (the units online carried in), so an
|
|
568
558
|
# obligation cut in an earlier solve does not come back in a later one (the outage forced ĉ to count only
|
|
569
|
-
# the start-ups after it
|
|
570
|
-
# already gives carry_up ≤
|
|
559
|
+
# the start-ups after it; without such a cut the earlier solve's minimum_uptime row at the carried step
|
|
560
|
+
# already gives carry_up ≤ ĉ); and 0 at and after the first step it reaches in
|
|
561
|
+
# B = {(p,d,t) : carry_up[p,d,t] > N[p,d,t]}, N the most units online where min_load[p,d,t] > 0 and
|
|
562
|
+
# availability[p,d,t] · κ[p] < min_load[p,d,t]: N = 0 where κ[p] < min_load, else
|
|
563
|
+
# N = κ[p] · availability[p,d,t] · existing_count[p,d] / min_load[p,d,t] (the min load of the units online
|
|
564
|
+
# within the built capacity derated by availability, maxFlow / maxOutputSum), κ = Σ_{A_p} capacity_max_coeff
|
|
565
|
+
# (min(Σ, 1) for an indirect unit) (_mintime.online_limit_cells, cells_over_limit; a coarse process at the
|
|
566
|
+
# first fine step b of each coarse step on ā_b, m̄l_b, as its rows): a carried obligation yields to an outage
|
|
567
|
+
# the solve that started the unit did not see (W-0592; not under a reduce_unit_detail_method with
|
|
568
|
+
# min_limits).
|
|
571
569
|
# A start-up within this solve keeps its full minimum up-time (the solve sees the outage), except a start-up
|
|
572
570
|
# at a realization pin kept before the unit's first blocked pinned step: uptime_lookback holds no term of it
|
|
573
571
|
# at and after that step (its up-time ends at the outage, as the pinned commitment did not see it).
|
|
@@ -656,7 +654,7 @@ def add_constraints(b: "_Build") -> None:
|
|
|
656
654
|
# a period that does not continue the previous one) its units online are free like the parent's; a free start
|
|
657
655
|
# relaxes any predecessor the parent had, so the pinned commitment stays feasible. A later roll carries the
|
|
658
656
|
# previous realization's units online in both stages (the stochastic roll k and realization roll k).
|
|
659
|
-
# A unit pinned
|
|
657
|
+
# A unit pinned above N at a step (N as in minimum_uptime; an outage only the realized data have) keeps its
|
|
660
658
|
# pins before the first such step and loses them there and at every later step it reaches along the timeline
|
|
661
659
|
# (dt_ramp_link): it is decided again under its own rows from the outage on
|
|
662
660
|
# (flex_data.carried_obligations_yield_to_outages, W-0592).
|
|
@@ -751,8 +749,6 @@ def _add_max_input_flow_online(b: "_Build", sfx: str, online_set: "pl.DataFrame"
|
|
|
751
749
|
over = in_arcs.join(d.dt, how="cross")
|
|
752
750
|
cap = _indirect_input_cap(d, in_arcs)
|
|
753
751
|
rhs = v_online * Param(("p", "source", "sink", "d", "t"), cap)
|
|
754
|
-
if d.p_process_availability is not None:
|
|
755
|
-
rhs = rhs * Param(("p", "source", "sink", "d", "t"), _input_availability_share(b, in_arcs))
|
|
756
752
|
lhs: dict = {"flow": b.v_flow}
|
|
757
753
|
lhs.update(b.reserve_down_at_source)
|
|
758
754
|
rhs_terms: dict = {"online": rhs}
|
|
@@ -793,13 +789,14 @@ def _cap_reduction(b: "_Build", arcs: "pl.DataFrame", *,
|
|
|
793
789
|
branch point (several rows sharing ``(p, source, sink, d, t)``), only rows with ``red_su > 0``
|
|
794
790
|
or (a successor and ``red_sd > 0``); ``None`` when there are none. See the EQ. header of maxFlow_online:
|
|
795
791
|
``SU = min(1, ml + ½ · ramp_speed_up · 60 · step_duration)`` over the sides of the arc with an up ramp limit,
|
|
796
|
-
``red_su =
|
|
792
|
+
``red_su = 1 − SU`` (a unit online has its full capacity: availability derates the built capacity, maxFlow);
|
|
793
|
+
``SD`` / ``red_sd`` likewise with the down speeds. ``ml`` is
|
|
797
794
|
``min_load`` on an output-measured arc (``input_side`` False) and the input the unit draws at min load as a
|
|
798
795
|
share of the arc's input limit on an indirect unit's input arc (``input_side`` True).
|
|
799
796
|
|
|
800
797
|
``coarse`` covers the arcs of coarse processes in the same columns, one row per coarse step b (``t`` = its
|
|
801
798
|
first fine step b_first) and coarse successor b⁺ (``d_next``, ``t_next`` = b⁺'s first fine step,
|
|
802
|
-
:func:`_coarse_flows.coarse_links`): ml
|
|
799
|
+
:func:`_coarse_flows.coarse_links`): ml is its Δt-weighted mean over b and SU / SD the
|
|
803
800
|
mean share over the whole step of a unit that starts at its start / stops at its end,
|
|
804
801
|
:func:`_coarse_flows.step_limit_share` with ρ_b = ramp_speed · 60 · Δ_b (the exact mean of a linear ramp that
|
|
805
802
|
saturates at full load).
|
|
@@ -848,37 +845,20 @@ def _reduction_rows(b: "_Build", arcs: "pl.DataFrame", speeds: "pl.LazyFrame", *
|
|
|
848
845
|
pl.col("t").cast(pl.Utf8).alias("_t"),
|
|
849
846
|
pl.col("value").cast(pl.Float64).alias("__dur"))
|
|
850
847
|
ml = _min_load_share(b, base, input_side=input_side)
|
|
851
|
-
if input_side:
|
|
852
|
-
avail = (_input_availability_share(b, arcs).lazy()
|
|
853
|
-
.select(pl.col("p").cast(pl.Utf8).alias("_p"), pl.col("source").cast(pl.Utf8).alias("_source"),
|
|
854
|
-
pl.col("sink").cast(pl.Utf8).alias("_sink"), pl.col("d").cast(pl.Utf8).alias("_d"),
|
|
855
|
-
pl.col("t").cast(pl.Utf8).alias("_t"), pl.col("value").cast(pl.Float64).alias("__av")))
|
|
856
|
-
elif d.p_process_availability is not None:
|
|
857
|
-
avail = (_availability_factor(d, arcs).frame.lazy()
|
|
858
|
-
.select(pl.col("p").cast(pl.Utf8).alias("_p"), pl.col("d").cast(pl.Utf8).alias("_d"),
|
|
859
|
-
pl.col("t").cast(pl.Utf8).alias("_t"), pl.col("value").cast(pl.Float64).alias("__av")))
|
|
860
|
-
else:
|
|
861
|
-
avail = None
|
|
862
848
|
grid = base.join(dur, on=["_d", "_t"], how="inner").join(ml, on=["_p", "_source", "_sink", "_d", "_t"],
|
|
863
849
|
how="left")
|
|
864
850
|
grid = grid.with_columns(pl.col("__ml").fill_null(0.0))
|
|
865
|
-
if avail is not None:
|
|
866
|
-
on = ["_p", "_source", "_sink", "_d", "_t"] if input_side else ["_p", "_d", "_t"]
|
|
867
|
-
grid = grid.join(avail, on=on, how="left").with_columns(pl.col("__av").fill_null(1.0))
|
|
868
|
-
else:
|
|
869
|
-
grid = grid.with_columns(__av=pl.lit(1.0))
|
|
870
851
|
if coarse:
|
|
871
|
-
# One row per coarse step b (named by its first fine step): Δ_b and the step
|
|
852
|
+
# One row per coarse step b (named by its first fine step): Δ_b and the step mean of ml.
|
|
872
853
|
st = b.coarse_steps.lazy().select(pl.col("p").cast(pl.Utf8).alias("_p"), pl.col("d").cast(pl.Utf8).alias("_d"),
|
|
873
854
|
pl.col("t").cast(pl.Utf8).alias("_t"), pl.col("b_first").alias("_b"),
|
|
874
855
|
pl.col("w").alias("__w"))
|
|
875
856
|
t_dtype = d.dt.schema["t"]
|
|
876
857
|
step_rows = (grid.join(st, on=["_p", "_d", "_t"], how="inner")
|
|
877
|
-
.with_columns((pl.col("__w") * pl.col("__ml")).alias("__ml")
|
|
878
|
-
(pl.col("__w") * pl.col("__av")).alias("__av"))
|
|
858
|
+
.with_columns((pl.col("__w") * pl.col("__ml")).alias("__ml"))
|
|
879
859
|
.collect())
|
|
880
860
|
grid = (_coarse_flows.ordered_sum(step_rows, [*keys, "d", "_p", "_source", "_sink", "_d", "_b"], "_t",
|
|
881
|
-
values=("__dur", "__ml"
|
|
861
|
+
values=("__dur", "__ml"))
|
|
882
862
|
.lazy()
|
|
883
863
|
.with_columns(pl.col("_b").cast(t_dtype).alias("t"), pl.col("_b").alias("_t")))
|
|
884
864
|
# The mean share over the whole step of a unit that starts at its start (stops at its end).
|
|
@@ -908,9 +888,9 @@ def _reduction_rows(b: "_Build", arcs: "pl.DataFrame", speeds: "pl.LazyFrame", *
|
|
|
908
888
|
out = (grid.join(su, on=["_p", "_source", "_sink", "_d", "_t"], how="left")
|
|
909
889
|
.join(sd, on=["_p", "_source", "_sink", "_d", "_t"], how="left")
|
|
910
890
|
.join(succ, on=succ_on, how="left")
|
|
911
|
-
.with_columns(red_su=(
|
|
891
|
+
.with_columns(red_su=(1.0 - pl.col("__su")).clip(lower_bound=0.0).fill_null(0.0),
|
|
912
892
|
red_sd=pl.when(pl.col("t_next").is_not_null())
|
|
913
|
-
.then((
|
|
893
|
+
.then((1.0 - pl.col("__sd")).clip(lower_bound=0.0).fill_null(0.0))
|
|
914
894
|
.otherwise(0.0))
|
|
915
895
|
.with_columns(__nsucc=pl.when(pl.col("t_next").is_not_null())
|
|
916
896
|
.then(pl.col("t_next").count().over(*nsucc_over))
|
|
@@ -967,29 +947,6 @@ def _min_load_share(b: "_Build", base: "pl.LazyFrame", *, input_side: bool) -> "
|
|
|
967
947
|
.otherwise(pl.col("__x") / pl.col("__ism").fill_null(1.0)))
|
|
968
948
|
|
|
969
949
|
|
|
970
|
-
def _input_availability_share(b: "_Build", arcs: "pl.DataFrame") -> "pl.DataFrame":
|
|
971
|
-
"""``(p, source, sink, d, t, value)`` over ``arcs`` (indirect units' input arcs) × dt, dtypes of ``arcs`` /
|
|
972
|
-
``dt``: the input drawn at derated full output per unit of full-load input, ``x(availability)``
|
|
973
|
-
(:func:`_fuel_share`). It replaces availability on the input arc's online limit: the min-load section is drawn
|
|
974
|
-
per unit online, not per available unit, so ``availability · full-load input`` would cap the derated full
|
|
975
|
-
output. Equal to availability without a section (one output); availability where there is no fuel width."""
|
|
976
|
-
d = b.d
|
|
977
|
-
keys = ["p", "source", "sink"]
|
|
978
|
-
over = arcs.select(keys).unique(maintain_order=True).join(d.dt.select("d", "t"), how="cross")
|
|
979
|
-
ou = _utf8_keys(over.lazy(), keys + ["d", "t"])
|
|
980
|
-
if d.p_process_availability is not None:
|
|
981
|
-
av = (_availability_factor(d, arcs).frame.lazy()
|
|
982
|
-
.select(pl.col("p").cast(pl.Utf8).alias("_p"), pl.col("d").cast(pl.Utf8).alias("_d"),
|
|
983
|
-
pl.col("t").cast(pl.Utf8).alias("_t"), pl.col("value").cast(pl.Float64).alias("__y")))
|
|
984
|
-
ou = ou.join(av, on=["_p", "_d", "_t"], how="left").with_columns(pl.col("__y").fill_null(1.0))
|
|
985
|
-
else:
|
|
986
|
-
ou = ou.with_columns(__y=pl.lit(1.0))
|
|
987
|
-
x = _fuel_share(d, ou.select("_p", "_d", "_t", "__y").unique())
|
|
988
|
-
return (ou.join(x, on=["_p", "_d", "_t"], how="left")
|
|
989
|
-
.select(*keys, "d", "t", value=pl.coalesce(pl.col("__x"), pl.col("__y")))
|
|
990
|
-
.collect())
|
|
991
|
-
|
|
992
|
-
|
|
993
950
|
def _fuel_share(d, levels: "pl.LazyFrame", online_p: "pl.LazyFrame | None" = None) -> "pl.LazyFrame":
|
|
994
951
|
"""``(_p, _d, _t, __x)`` for ``levels`` ``(_p, _d, _t, __y)`` (Utf8 keys): the input an indirect unit
|
|
995
952
|
draws at output level y per unit of its full-load input,
|
|
@@ -1063,9 +1063,6 @@ def _add_connection_reserve_constraints(b: "_Build") -> None:
|
|
|
1063
1063
|
pl.col("t").cast(pl.Utf8).alias("_t"))
|
|
1064
1064
|
rhs_u = _arc_dt_u(b.flow_upper_rhs.frame, d.dt)
|
|
1065
1065
|
mult_u = _arc_dt_u(b.flow_cap_mult, d.dt) if b.flow_cap_mult is not None else None
|
|
1066
|
-
avail_u = (_utf8_keys(promote_param_to_dt(d.p_process_availability, d.dt).select("p", "d", "t", "value"),
|
|
1067
|
-
["p", "d", "t"]).select("_p", "_d", "_t", pl.col("value").alias("__av"))
|
|
1068
|
-
if d.p_process_availability is not None else None)
|
|
1069
1066
|
coef_u = (_utf8_keys(d.p_arc_max_cap_coef.frame.lazy().select(*keys, "value"), keys)
|
|
1070
1067
|
.select("_p", "_source", "_sink", pl.col("value").alias("__coef"))
|
|
1071
1068
|
if d.p_arc_max_cap_coef is not None else None)
|
|
@@ -1077,18 +1074,13 @@ def _add_connection_reserve_constraints(b: "_Build") -> None:
|
|
|
1077
1074
|
exact = _exact.exact_arcs(d) if b.v_exact_forward is not None else None
|
|
1078
1075
|
|
|
1079
1076
|
def _online_factor_u(chan: pl.DataFrame) -> pl.LazyFrame:
|
|
1080
|
-
"""κ
|
|
1077
|
+
"""κ of the channel arc over dt: (_p, _n, _d, _t, value)."""
|
|
1081
1078
|
lf = chan.lazy().select("_p", "_source", "_sink", "_n").join(dt_u.lazy().select("_d", "_t"), how="cross")
|
|
1082
1079
|
if coef_u is not None:
|
|
1083
1080
|
lf = lf.join(coef_u, on=["_p", "_source", "_sink"], how="left")
|
|
1084
1081
|
else:
|
|
1085
1082
|
lf = lf.with_columns(pl.lit(None, pl.Float64).alias("__coef"))
|
|
1086
|
-
|
|
1087
|
-
lf = lf.join(avail_u, on=["_p", "_d", "_t"], how="left")
|
|
1088
|
-
else:
|
|
1089
|
-
lf = lf.with_columns(pl.lit(None, pl.Float64).alias("__av"))
|
|
1090
|
-
return lf.select("_p", "_n", "_d", "_t",
|
|
1091
|
-
(pl.col("__coef").fill_null(1.0) * pl.col("__av").fill_null(1.0)).alias("value"))
|
|
1083
|
+
return lf.select("_p", "_n", "_d", "_t", pl.col("__coef").fill_null(1.0).alias("value"))
|
|
1092
1084
|
|
|
1093
1085
|
# ─── EQ. ─── connection_reserve_up / connection_reserve_down ─────────────
|
|
1094
1086
|
# ─────────────────────────────────────────────────────────────────────────
|
|
@@ -1106,8 +1098,9 @@ def _add_connection_reserve_constraints(b: "_Build") -> None:
|
|
|
1106
1098
|
# b.flow_cap_mult: capacity_max_coeff · availability · existing_count and coef · availability)
|
|
1107
1099
|
# a channel p does not have contributes nothing (x = 0, C = 0, M = 0, s_out = 1)
|
|
1108
1100
|
# ─── EQ. ─── connection_reserve_{up,down}_online_{linear,integer} ────────
|
|
1109
|
-
# same LHS without invest terms ≤ κ ·
|
|
1110
|
-
# in-channel arc / the down row's out-channel arc
|
|
1101
|
+
# same LHS without invest terms ≤ κ · v_online[p,d,t] (κ = capacity_max_coeff of the up row's
|
|
1102
|
+
# in-channel arc / the down row's out-channel arc; availability derates the built capacity, the row above)
|
|
1103
|
+
# ∀ rows above with p online and that channel present
|
|
1111
1104
|
# ─── EQ. ─── connection_reserve_{up,down}_exact ──────────────────────────
|
|
1112
1105
|
# same LHS − Ū · v_exact_forward[p,d,t] ≤ 0 when that channel is the exact connection's forward arc
|
|
1113
1106
|
# same LHS + Ū · v_exact_forward[p,d,t] ≤ Ū when it is the reverse arc
|
|
@@ -406,9 +406,9 @@ def _max_flow_rhs(d, inv_procs: "pl.DataFrame | None" = None,
|
|
|
406
406
|
in_lf = _utf8_keys(_with_availability(in_lf), ["d", "t"])
|
|
407
407
|
if avail is not None:
|
|
408
408
|
# a = x(availability) on every indirect unit's input arc (not only online units, #102); feed
|
|
409
|
-
# _fuel_share the __av already joined above as its level
|
|
410
|
-
# (_online.
|
|
411
|
-
#
|
|
409
|
+
# _fuel_share the __av already joined above as its level. The section is credited only to units
|
|
410
|
+
# with an online variable (_online.add_variables): every unit online draws it, also when
|
|
411
|
+
# availability derates the output (the online rows carry no availability), while a non-online
|
|
412
412
|
# min_load_efficiency unit's balance equation applies no section.
|
|
413
413
|
online_frames = [f for f in (getattr(d, "process_online_linear", None),
|
|
414
414
|
getattr(d, "process_online_integer", None))
|
|
@@ -310,7 +310,7 @@ def _unit_widths(d: "FlexData", procs: set[str]) -> pl.DataFrame:
|
|
|
310
310
|
(``_indirect_sum_arcs``): the outputs with conv > 0 filled in descending conv order, each up to min(κ_k, the
|
|
311
311
|
rest), as ``_derived._arc_capacity._indirect_fuel_width_lf`` computes the width of the input limits, here from the FlexData
|
|
312
312
|
the LP reads;
|
|
313
|
-
* direct unit: ``W = K``, the largest κ over its capped arcs (maxFlow_online: flow ≤ κ·
|
|
313
|
+
* direct unit: ``W = K``, the largest κ over its capped arcs (maxFlow_online: flow ≤ κ·online).
|
|
314
314
|
|
|
315
315
|
κ = ``p_arc_max_cap_coef`` (capacity_max_coeff; 1 where absent, clipped at 0), conv =
|
|
316
316
|
``p_process_sink_conversion_flow_coeff`` (1 where absent). A unit without such arcs has width 0."""
|