flextool 4.4.0__tar.gz → 4.5.0__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.4.0/flextool.egg-info → flextool-4.5.0}/PKG-INFO +2 -2
- {flextool-4.4.0 → flextool-4.5.0}/docs/dev/architecture.md +136 -10
- {flextool-4.4.0 → flextool-4.5.0}/docs/dev/engine.md +45 -1
- {flextool-4.4.0 → flextool-4.5.0}/docs/env_vars.md +1 -0
- {flextool-4.4.0 → flextool-4.5.0}/docs/flextool_gui_interface.md +4 -2
- {flextool-4.4.0 → flextool-4.5.0}/docs/how_to/emissions.md +1 -1
- {flextool-4.4.0 → flextool-4.5.0}/docs/how_to/outputs.md +1 -1
- {flextool-4.4.0 → flextool-4.5.0}/docs/how_to/storage_hydro.md +1 -1
- {flextool-4.4.0 → flextool-4.5.0}/docs/how_to/thermal_chp.md +22 -0
- {flextool-4.4.0 → flextool-4.5.0}/docs/limitations.md +3 -2
- {flextool-4.4.0 → flextool-4.5.0}/docs/reference/connections.md +1 -1
- {flextool-4.4.0 → flextool-4.5.0}/docs/reference/entities_and_time.md +29 -12
- {flextool-4.4.0 → flextool-4.5.0}/docs/reference/flow_groups.md +5 -9
- {flextool-4.4.0 → flextool-4.5.0}/docs/reference/groups.md +13 -13
- {flextool-4.4.0 → flextool-4.5.0}/docs/reference/nodes.md +5 -5
- {flextool-4.4.0 → flextool-4.5.0}/docs/reference/units.md +39 -7
- {flextool-4.4.0 → flextool-4.5.0}/docs/reference/user_constraints.md +1 -1
- {flextool-4.4.0 → flextool-4.5.0}/docs/results.md +97 -3
- {flextool-4.4.0 → flextool-4.5.0}/docs/solvers/gurobi.md +8 -4
- {flextool-4.4.0 → flextool-4.5.0}/docs/solvers/index.md +25 -5
- {flextool-4.4.0 → flextool-4.5.0}/docs/terminal_workflow.md +2 -1
- {flextool-4.4.0 → flextool-4.5.0}/flextool/assistant/inputs/_units.py +1 -1
- {flextool-4.4.0 → flextool-4.5.0}/flextool/assistant/results/_slacks.py +1 -1
- {flextool-4.4.0 → flextool-4.5.0}/flextool/cli/cmd_run_flextool.py +15 -0
- {flextool-4.4.0 → flextool-4.5.0}/flextool/cli/cmd_solve_mps.py +82 -0
- {flextool-4.4.0 → flextool-4.5.0}/flextool/engine/_behaviour_changes.py +9 -0
- {flextool-4.4.0 → flextool-4.5.0}/flextool/engine/_csv_reload/_field_seeds.py +20 -0
- {flextool-4.4.0 → flextool-4.5.0}/flextool/engine/autoscale/__init__.py +16 -1
- flextool-4.5.0/flextool/engine/autoscale/_guard.py +745 -0
- {flextool-4.4.0 → flextool-4.5.0}/flextool/engine/autoscale/_layer2_types.py +19 -10
- {flextool-4.4.0 → flextool-4.5.0}/flextool/engine/autoscale/_quantity_types.py +9 -7
- {flextool-4.4.0 → flextool-4.5.0}/flextool/engine/autoscale/_report.py +113 -4
- {flextool-4.4.0 → flextool-4.5.0}/flextool/engine/input/_axis_enums.py +1 -1
- {flextool-4.4.0 → flextool-4.5.0}/flextool/engine/input/_param_shapes.py +313 -28
- flextool-4.5.0/flextool/engine/input/_piecewise_curve.py +233 -0
- {flextool-4.4.0 → flextool-4.5.0}/flextool/engine/input/_solve_config.py +42 -32
- {flextool-4.4.0 → flextool-4.5.0}/flextool/engine/input/_solve_state.py +8 -0
- {flextool-4.4.0 → flextool-4.5.0}/flextool/engine/input/_solve_step_aggregation.py +96 -4
- {flextool-4.4.0 → flextool-4.5.0}/flextool/engine/input/_spinedb_reader.py +9 -1
- {flextool-4.4.0 → flextool-4.5.0}/flextool/engine/model/_coarse_flows.py +2 -1
- {flextool-4.4.0 → flextool-4.5.0}/flextool/engine/model/_commodity_ladder.py +8 -5
- {flextool-4.4.0 → flextool-4.5.0}/flextool/engine/model/_common.py +2 -1
- {flextool-4.4.0 → flextool-4.5.0}/flextool/engine/model/_cumulative_invest.py +41 -12
- {flextool-4.4.0 → flextool-4.5.0}/flextool/engine/model/_group_slack.py +119 -49
- {flextool-4.4.0 → flextool-4.5.0}/flextool/engine/model/_lead_time.py +9 -5
- {flextool-4.4.0 → flextool-4.5.0}/flextool/engine/model/_online.py +36 -7
- {flextool-4.4.0 → flextool-4.5.0}/flextool/engine/model/_reserve.py +66 -12
- {flextool-4.4.0 → flextool-4.5.0}/flextool/engine/model/core.py +205 -18
- {flextool-4.4.0 → flextool-4.5.0}/flextool/engine/output/_dump_csvs.py +8 -0
- {flextool-4.4.0 → flextool-4.5.0}/flextool/engine/output/_parquet_bundle.py +4 -0
- {flextool-4.4.0 → flextool-4.5.0}/flextool/engine/preprocess/_reduce_detail.py +256 -25
- {flextool-4.4.0 → flextool-4.5.0}/flextool/engine/preprocess/emit/_capacity_margin_peak.py +3 -3
- {flextool-4.4.0 → flextool-4.5.0}/flextool/engine/preprocess/emit/_chain_params.py +13 -2
- {flextool-4.4.0 → flextool-4.5.0}/flextool/engine/preprocess/emit/_energy_margin_adder.py +1 -1
- {flextool-4.4.0 → flextool-4.5.0}/flextool/engine/preprocess/emit/_period_params.py +1 -1
- {flextool-4.4.0 → flextool-4.5.0}/flextool/engine/preprocess/emit/_solve_time.py +1 -1
- {flextool-4.4.0 → flextool-4.5.0}/flextool/engine/preprocess/flex_data.py +18 -6
- {flextool-4.4.0 → flextool-4.5.0}/flextool/engine/preprocess/params/_derived.py +113 -19
- {flextool-4.4.0 → flextool-4.5.0}/flextool/engine/preprocess/params/_direct.py +160 -58
- flextool-4.5.0/flextool/engine/preprocess/params/_piecewise.py +664 -0
- {flextool-4.4.0 → flextool-4.5.0}/flextool/engine/preprocess/params/_projection.py +106 -9
- {flextool-4.4.0 → flextool-4.5.0}/flextool/engine/solve/_acceptance.py +109 -19
- {flextool-4.4.0 → flextool-4.5.0}/flextool/engine/solve/_benders.py +62 -10
- {flextool-4.4.0 → flextool-4.5.0}/flextool/engine/solve/_orchestration.py +393 -88
- {flextool-4.4.0 → flextool-4.5.0}/flextool/engine/solve/_region_filter.py +22 -11
- {flextool-4.4.0 → flextool-4.5.0}/flextool/engine/solve/_solver_catalogue.py +4 -3
- {flextool-4.4.0 → flextool-4.5.0}/flextool/engine/solve/_solver_dispatch.py +43 -29
- {flextool-4.4.0 → flextool-4.5.0}/flextool/engine/solve/_stochastic.py +54 -9
- {flextool-4.4.0 → flextool-4.5.0}/flextool/engine/solve/_subprocess_solve.py +38 -5
- {flextool-4.4.0 → flextool-4.5.0}/flextool/engine/solve/_warm.py +2 -0
- {flextool-4.4.0 → flextool-4.5.0}/flextool/engine/solve/solver_catalogue/gurobi.json +6 -6
- {flextool-4.4.0 → flextool-4.5.0}/flextool/gui/__main__.py +4 -1
- flextool-4.5.0/flextool/gui/_menus.py +35 -0
- {flextool-4.4.0 → flextool-4.5.0}/flextool/gui/assistant/chat_window.py +10 -7
- {flextool-4.4.0 → flextool-4.5.0}/flextool/gui/assistant/transcript.py +2 -1
- {flextool-4.4.0 → flextool-4.5.0}/flextool/gui/data_models.py +5 -0
- {flextool-4.4.0 → flextool-4.5.0}/flextool/gui/dialogs/plot_settings_picker.py +31 -1
- {flextool-4.4.0 → flextool-4.5.0}/flextool/gui/execution_manager.py +3 -0
- {flextool-4.4.0 → flextool-4.5.0}/flextool/gui/execution_window.py +3 -3
- {flextool-4.4.0 → flextool-4.5.0}/flextool/gui/main_window.py +53 -10
- {flextool-4.4.0 → flextool-4.5.0}/flextool/gui/platform_utils.py +3 -2
- {flextool-4.4.0 → flextool-4.5.0}/flextool/gui/plot_canvas.py +68 -37
- {flextool-4.4.0 → flextool-4.5.0}/flextool/gui/result_viewer.py +164 -9
- {flextool-4.4.0 → flextool-4.5.0}/flextool/gui/settings_io.py +4 -0
- {flextool-4.4.0 → flextool-4.5.0}/flextool/input_derivation/__init__.py +2 -0
- flextool-4.5.0/flextool/input_derivation/_piecewise.py +184 -0
- {flextool-4.4.0 → flextool-4.5.0}/flextool/input_derivation/_process_method.py +46 -1
- {flextool-4.4.0 → flextool-4.5.0}/flextool/input_derivation/_specs.py +9 -3
- {flextool-4.4.0 → flextool-4.5.0}/flextool/input_derivation/_validators.py +261 -15
- flextool-4.5.0/flextool/model_builder/_special.py +191 -0
- {flextool-4.4.0 → flextool-4.5.0}/flextool/model_builder/profiles.py +4 -6
- {flextool-4.4.0 → flextool-4.5.0}/flextool/process_inputs/write_old_flextool_to_db.py +3 -2
- {flextool-4.4.0 → flextool-4.5.0}/flextool/process_outputs/_output_meta.py +60 -1
- flextool-4.5.0/flextool/process_outputs/_ramp_inputs.py +221 -0
- {flextool-4.4.0 → flextool-4.5.0}/flextool/process_outputs/calc_costs.py +3 -0
- flextool-4.5.0/flextool/process_outputs/calc_piecewise.py +264 -0
- flextool-4.5.0/flextool/process_outputs/calc_ramp_envelope.py +821 -0
- {flextool-4.4.0 → flextool-4.5.0}/flextool/process_outputs/drop_levels.py +22 -0
- {flextool-4.4.0 → flextool-4.5.0}/flextool/process_outputs/out_group.py +8 -0
- {flextool-4.4.0 → flextool-4.5.0}/flextool/process_outputs/out_node.py +10 -0
- {flextool-4.4.0 → flextool-4.5.0}/flextool/process_outputs/process_results.py +2 -0
- {flextool-4.4.0 → flextool-4.5.0}/flextool/process_outputs/read_parameters.py +116 -0
- {flextool-4.4.0 → flextool-4.5.0}/flextool/process_outputs/read_sets.py +53 -0
- {flextool-4.4.0 → flextool-4.5.0}/flextool/process_outputs/write_outputs.py +7 -2
- {flextool-4.4.0 → flextool-4.5.0}/flextool/process_outputs/write_spinedb.py +11 -0
- {flextool-4.4.0 → flextool-4.5.0}/flextool/run_options.py +8 -0
- {flextool-4.4.0 → flextool-4.5.0}/flextool/scenario_comparison/constants.py +10 -0
- {flextool-4.4.0 → flextool-4.5.0}/flextool/scenario_comparison/data_models.py +4 -0
- {flextool-4.4.0 → flextool-4.5.0}/flextool/scenario_comparison/dispatch_plots.py +11 -1
- flextool-4.5.0/flextool/scenario_comparison/ramp_plots.py +443 -0
- {flextool-4.4.0 → flextool-4.5.0}/flextool/schemas/canonical_databases/howto_aggregate_output.json +79 -52
- {flextool-4.4.0 → flextool-4.5.0}/flextool/schemas/canonical_databases/howto_connections.json +79 -52
- {flextool-4.4.0 → flextool-4.5.0}/flextool/schemas/canonical_databases/howto_demand.json +79 -52
- {flextool-4.4.0 → flextool-4.5.0}/flextool/schemas/canonical_databases/howto_hydro_reservoir.json +79 -52
- {flextool-4.4.0 → flextool-4.5.0}/flextool/schemas/canonical_databases/howto_hydro_reservoir_with_pump.json +79 -52
- {flextool-4.4.0 → flextool-4.5.0}/flextool/schemas/canonical_databases/howto_non_sync_and_curtailment.json +79 -52
- {flextool-4.4.0 → flextool-4.5.0}/flextool/schemas/canonical_databases/howto_ramp_and_start_up.json +79 -52
- {flextool-4.4.0 → flextool-4.5.0}/flextool/schemas/canonical_databases/howto_stochastics.json +79 -52
- {flextool-4.4.0 → flextool-4.5.0}/flextool/schemas/canonical_databases/templates_examples.json +81 -54
- {flextool-4.4.0 → flextool-4.5.0}/flextool/schemas/canonical_databases/templates_time_settings_only.json +79 -52
- {flextool-4.4.0 → flextool-4.5.0}/flextool/schemas/default_plot_settings.yaml +12 -0
- {flextool-4.4.0 → flextool-4.5.0}/flextool/schemas/default_plots.yaml +30 -0
- {flextool-4.4.0 → flextool-4.5.0}/flextool/schemas/flextool_axis_contract.json +15 -2
- {flextool-4.4.0 → flextool-4.5.0}/flextool/schemas/spinedb_results_schema.json +26 -2
- {flextool-4.4.0 → flextool-4.5.0}/flextool/schemas/spinedb_schema.json +76 -52
- {flextool-4.4.0 → flextool-4.5.0}/flextool/spinedb_backend/_axis_enums.py +34 -0
- {flextool-4.4.0 → flextool-4.5.0}/flextool/update_flextool/__init__.py +1 -1
- {flextool-4.4.0 → flextool-4.5.0}/flextool/update_flextool/db_handle.py +17 -1
- {flextool-4.4.0 → flextool-4.5.0}/flextool/update_flextool/db_migration.py +321 -10
- {flextool-4.4.0 → flextool-4.5.0/flextool.egg-info}/PKG-INFO +2 -2
- {flextool-4.4.0 → flextool-4.5.0}/flextool.egg-info/SOURCES.txt +13 -0
- {flextool-4.4.0 → flextool-4.5.0}/flextool.egg-info/requires.txt +1 -1
- {flextool-4.4.0 → flextool-4.5.0}/pyproject.toml +7 -2
- {flextool-4.4.0 → flextool-4.5.0}/tests/test_dispatch_node_debug_and_tree.py +23 -0
- {flextool-4.4.0 → flextool-4.5.0}/tests/test_input_entity_colors.py +6 -3
- flextool-4.5.0/tests/test_model_builder_special_functions.py +96 -0
- flextool-4.5.0/tests/test_piecewise_validation.py +422 -0
- flextool-4.5.0/tests/test_ramp_histogram.py +196 -0
- {flextool-4.4.0 → flextool-4.5.0}/tests/test_run_options.py +13 -0
- {flextool-4.4.0 → flextool-4.5.0}/tests/test_units_of_measure_validators.py +1 -1
- {flextool-4.4.0 → flextool-4.5.0}/tests/test_v65_migration.py +34 -31
- {flextool-4.4.0 → flextool-4.5.0}/LICENSE.txt +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/MANIFEST.in +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/README.md +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/_flextool_build.py +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/docs/advanced_concepts.md +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/docs/ai_assistant.md +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/docs/dev/slack_convention.md +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/docs/excel_interface.md +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/docs/how_to/basics.md +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/docs/how_to/index.md +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/docs/how_to/investment.md +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/docs/how_to/performance.md +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/docs/how_to/solve_sequences.md +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/docs/how_to/stochastics.md +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/docs/index.md +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/docs/install_gui.md +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/docs/install_toolbox.md +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/docs/interface_overview.md +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/docs/reading_results.md +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/docs/reference/commodities.md +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/docs/reference/index.md +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/docs/reference/parameter_groups.md +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/docs/reference/reserves.md +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/docs/solvers/copt.md +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/docs/solvers/cplex.md +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/docs/solvers/highs.md +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/docs/solvers/xpress.md +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/docs/spine_database.md +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/docs/spine_toolbox.md +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/docs/tutorial.md +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/flextool/__init__.py +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/flextool/_allocator.py +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/flextool/_child_python.py +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/flextool/_file_lock.py +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/flextool/_local_solver_settings.py +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/flextool/_mem_sampler.py +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/flextool/_process_tree.py +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/flextool/_resources.py +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/flextool/_safe_text.py +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/flextool/_solver_config_source.py +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/flextool/_solver_option_rules.py +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/flextool/_thread_budget.py +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/flextool/assistant/__init__.py +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/flextool/assistant/_files.py +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/flextool/assistant/backends/__init__.py +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/flextool/assistant/backends/_common.py +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/flextool/assistant/backends/anthropic_messages.py +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/flextool/assistant/backends/openai_chat.py +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/flextool/assistant/budget.py +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/flextool/assistant/caps.py +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/flextool/assistant/chat_cli.py +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/flextool/assistant/cli.py +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/flextool/assistant/context.py +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/flextool/assistant/docs_store.py +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/flextool/assistant/endpoint.py +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/flextool/assistant/env_knobs.py +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/flextool/assistant/errors.py +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/flextool/assistant/inputs/__init__.py +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/flextool/assistant/inputs/_db.py +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/flextool/assistant/inputs/_notes.py +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/flextool/assistant/inputs/_schema.py +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/flextool/assistant/inputs/_values.py +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/flextool/assistant/keys.py +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/flextool/assistant/llm_adapter.py +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/flextool/assistant/llm_errors.py +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/flextool/assistant/llm_retry.py +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/flextool/assistant/mcp_server.py +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/flextool/assistant/model_check.py +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/flextool/assistant/model_facts.py +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/flextool/assistant/model_list_cache.py +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/flextool/assistant/model_versions.py +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/flextool/assistant/net.py +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/flextool/assistant/pacing.py +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/flextool/assistant/placeholders.py +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/flextool/assistant/probes.py +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/flextool/assistant/project.py +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/flextool/assistant/prompt.py +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/flextool/assistant/providers.py +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/flextool/assistant/redact.py +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/flextool/assistant/registry.py +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/flextool/assistant/results/__init__.py +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/flextool/assistant/results/_catalog.py +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/flextool/assistant/results/_entity.py +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/flextool/assistant/results/_overview.py +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/flextool/assistant/results/_query.py +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/flextool/assistant/results/_runs.py +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/flextool/assistant/runtime_context.py +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/flextool/assistant/session.py +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/flextool/assistant/settings.py +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/flextool/assistant/store.py +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/flextool/assistant/textsearch.py +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/flextool/assistant/thoughts.py +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/flextool/assistant/tiers.py +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/flextool/assistant/tools/__init__.py +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/flextool/assistant/tools/diagnostics.py +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/flextool/assistant/tools/discovery.py +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/flextool/assistant/tools/explain.py +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/flextool/assistant/tools/inputs.py +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/flextool/assistant/tools/orientation.py +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/flextool/assistant/tools/results.py +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/flextool/assistant/unit_wording.py +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/flextool/assistant/usage.py +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/flextool/calibrate/__init__.py +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/flextool/calibrate/__main__.py +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/flextool/calibrate/_cli.py +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/flextool/calibrate/_db_alt.py +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/flextool/calibrate/_final_outputs.py +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/flextool/calibrate/_guard.py +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/flextool/calibrate/_loop.py +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/flextool/calibrate/_readers.py +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/flextool/calibrate/_report.py +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/flextool/calibrate/_sizing.py +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/flextool/calibrate/_solve.py +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/flextool/calibrate/_solve_status.py +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/flextool/cli/__init__.py +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/flextool/cli/_console.py +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/flextool/cli/_timing.py +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/flextool/cli/cmd_execute_flextool_workflow.py +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/flextool/cli/cmd_export_to_tabular.py +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/flextool/cli/cmd_freeze_database.py +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/flextool/cli/cmd_import_sensitivities.py +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/flextool/cli/cmd_migrate_database.py +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/flextool/cli/cmd_open_results_db.py +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/flextool/cli/cmd_project_package.py +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/flextool/cli/cmd_read_matpower.py +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/flextool/cli/cmd_read_old_flextool.py +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/flextool/cli/cmd_read_self_describing_tabular_input.py +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/flextool/cli/cmd_read_tabular_input.py +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/flextool/cli/cmd_scenario_results.py +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/flextool/cli/cmd_time_runs.py +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/flextool/cli/cmd_trust_workspace.py +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/flextool/cli/cmd_update_flextool.py +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/flextool/cli/cmd_write_outputs.py +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/flextool/common_utils/__init__.py +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/flextool/common_utils/plot_mem_shape.py +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/flextool/decomposition/__init__.py +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/flextool/decomposition/region_decomposition.py +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/flextool/decomposition/region_filter.py +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/flextool/docs_build/__init__.py +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/flextool/docs_build/__main__.py +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/flextool/docs_build/catalogue.py +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/flextool/docs_build/formulation.py +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/flextool/docs_build/index.py +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/flextool/docs_build/parameters.py +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/flextool/docs_build/scope.py +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/flextool/engine/__init__.py +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/flextool/engine/_csv_reload/__init__.py +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/flextool/engine/_csv_reload/_meta.py +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/flextool/engine/_csv_reload/_seed.py +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/flextool/engine/_csv_reload/_stamp.py +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/flextool/engine/_csv_reload/_topology.py +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/flextool/engine/_csv_reload/load.py +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/flextool/engine/_csv_reload/offline_outputs.py +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/flextool/engine/autoscale/_config.py +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/flextool/engine/autoscale/_layer2.py +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/flextool/engine/input/__init__.py +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/flextool/engine/input/_constants.py +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/flextool/engine/input/_db_loader.py +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/flextool/engine/input/_db_reader.py +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/flextool/engine/input/_inmemory_reader.py +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/flextool/engine/input/_input_source.py +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/flextool/engine/input/_timeline.py +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/flextool/engine/input/_timeline_rules.py +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/flextool/engine/model/__init__.py +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/flextool/engine/model/_balance_terms.py +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/flextool/engine/model/_dc_power_flow.py +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/flextool/engine/model/_delay.py +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/flextool/engine/model/_exact.py +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/flextool/engine/model/_non_anticipativity.py +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/flextool/engine/model/_pdt_join.py +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/flextool/engine/model/_self_discharge.py +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/flextool/engine/model/_unit_floors.py +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/flextool/engine/output/__init__.py +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/flextool/engine/output/_capacity_margin.py +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/flextool/engine/output/_coarse_flows.py +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/flextool/engine/output/_horizon_dump.py +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/flextool/engine/output/_prices.py +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/flextool/engine/output/_reserve_report.py +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/flextool/engine/output/_writer.py +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/flextool/engine/preprocess/__init__.py +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/flextool/engine/preprocess/_annuity.py +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/flextool/engine/preprocess/_co2_methods.py +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/flextool/engine/preprocess/_dump_stamp.py +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/flextool/engine/preprocess/_flex_data_provider.py +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/flextool/engine/preprocess/_input_writer.py +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/flextool/engine/preprocess/_invest_seeds.py +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/flextool/engine/preprocess/_provider_io.py +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/flextool/engine/preprocess/_provider_keys.py +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/flextool/engine/preprocess/_provider_translators.py +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/flextool/engine/preprocess/_reserve_methods.py +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/flextool/engine/preprocess/_solve_context.py +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/flextool/engine/preprocess/_stochastic_detect.py +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/flextool/engine/preprocess/emit/__init__.py +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/flextool/engine/preprocess/emit/_arc_unions.py +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/flextool/engine/preprocess/emit/_base_steps.py +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/flextool/engine/preprocess/emit/_blocks.py +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/flextool/engine/preprocess/emit/_calc_params.py +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/flextool/engine/preprocess/emit/_co2_accumulators.py +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/flextool/engine/preprocess/emit/_dispatchers.py +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/flextool/engine/preprocess/emit/_energy_margin.py +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/flextool/engine/preprocess/emit/_entity_annual.py +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/flextool/engine/preprocess/emit/_inflow_scaling.py +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/flextool/engine/preprocess/emit/_inflow_scaling_checks.py +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/flextool/engine/preprocess/emit/_leaf_sets.py +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/flextool/engine/preprocess/emit/_lp_scaling.py +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/flextool/engine/preprocess/emit/_mid_sets.py +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/flextool/engine/preprocess/emit/_pdt_lookup.py +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/flextool/engine/preprocess/emit/_pdt_params.py +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/flextool/engine/preprocess/emit/_per_solve.py +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/flextool/engine/preprocess/emit/_period_calc.py +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/flextool/engine/preprocess/emit/_reserve_sets.py +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/flextool/engine/preprocess/emit/_solve_writers.py +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/flextool/engine/preprocess/emit/_vectorize.py +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/flextool/engine/preprocess/params/__init__.py +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/flextool/engine/preprocess/params/_arithmetic.py +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/flextool/engine/preprocess/params/_block.py +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/flextool/engine/preprocess/params/_block_layout.py +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/flextool/engine/preprocess/params/_branch.py +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/flextool/engine/preprocess/params/_coarse.py +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/flextool/engine/preprocess/params/_existing.py +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/flextool/engine/preprocess/params/_mintime.py +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/flextool/engine/preprocess/params/_npv.py +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/flextool/engine/preprocess/params/_per_solve_sets.py +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/flextool/engine/preprocess/params/_profiles.py +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/flextool/engine/preprocess/params/_ramp_links.py +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/flextool/engine/preprocess/params/_retire_existing.py +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/flextool/engine/preprocess/params/_run_calendar.py +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/flextool/engine/preprocess/params/_walks.py +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/flextool/engine/solve/__init__.py +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/flextool/engine/solve/_carry_routing.py +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/flextool/engine/solve/_determinism.py +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/flextool/engine/solve/_handoff.py +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/flextool/engine/solve/_objective_options.py +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/flextool/engine/solve/_realization.py +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/flextool/engine/solve/_realized_overlap.py +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/flextool/engine/solve/_recursive_solve.py +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/flextool/engine/solve/_run_model.py +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/flextool/engine/solve/_solver_base.py +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/flextool/engine/solve/chain.py +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/flextool/engine/solve/solver_catalogue/copt.json +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/flextool/engine/solve/solver_catalogue/cplex.json +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/flextool/engine/solve/solver_catalogue/highs.json +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/flextool/engine/solve/solver_catalogue/xpress.json +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/flextool/engine_polars/__init__.py +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/flextool/env_check.py +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/flextool/export_to_tabular/__init__.py +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/flextool/export_to_tabular/db_reader.py +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/flextool/export_to_tabular/excel_writer.py +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/flextool/export_to_tabular/export_settings.yaml +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/flextool/export_to_tabular/export_to_excel.py +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/flextool/export_to_tabular/formatting.py +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/flextool/export_to_tabular/sheet_config.py +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/flextool/gui/__init__.py +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/flextool/gui/assistant/__init__.py +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/flextool/gui/assistant/chat_tab.py +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/flextool/gui/assistant/entry.py +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/flextool/gui/assistant/fonts.py +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/flextool/gui/assistant/gate.py +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/flextool/gui/assistant/geometry.py +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/flextool/gui/assistant/gui_state.py +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/flextool/gui/assistant/markdown_stream.py +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/flextool/gui/assistant/notices.py +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/flextool/gui/assistant/settings_dialog.py +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/flextool/gui/assistant/strings.py +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/flextool/gui/assistant/worker.py +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/flextool/gui/calibrate_commands.py +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/flextool/gui/calibrate_jobs.py +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/flextool/gui/check_tree.py +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/flextool/gui/cli_format.py +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/flextool/gui/config_parser.py +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/flextool/gui/db_editor_integration.py +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/flextool/gui/db_version_check.py +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/flextool/gui/dialogs/__init__.py +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/flextool/gui/dialogs/add_dialog.py +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/flextool/gui/dialogs/calibrate_dialog.py +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/flextool/gui/dialogs/file_picker.py +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/flextool/gui/dialogs/group_picker.py +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/flextool/gui/dialogs/local_solver_settings_dialog.py +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/flextool/gui/dialogs/migration_consent_dialog.py +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/flextool/gui/dialogs/migration_progress_dialog.py +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/flextool/gui/dialogs/plot_dialog.py +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/flextool/gui/dialogs/project_dialog.py +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/flextool/gui/dialogs/project_package_dialog.py +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/flextool/gui/dialogs/update_dialog.py +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/flextool/gui/downsampling.py +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/flextool/gui/error_handling.py +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/flextool/gui/hover_tooltip.py +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/flextool/gui/input_sources.py +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/flextool/gui/network_graph.py +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/flextool/gui/output_actions.py +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/flextool/gui/output_log_window.py +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/flextool/gui/plot_cache.py +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/flextool/gui/plot_config_reader.py +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/flextool/gui/project_utils.py +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/flextool/gui/scenario_key.py +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/flextool/gui/scenario_lists.py +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/flextool/gui/solve_reader.py +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/flextool/gui/tree_reorder.py +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/flextool/gui/ui_metrics.py +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/flextool/input_derivation/_commodity_ladder.py +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/flextool/input_derivation/_commodity_ladder_sets.py +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/flextool/input_derivation/_dc_power_flow.py +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/flextool/input_derivation/_method_constants.py +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/flextool/lean_parquet.py +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/flextool/model_builder/__init__.py +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/flextool/model_builder/build_model.py +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/flextool/model_builder/encoding.py +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/flextool/model_builder/names.py +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/flextool/plot_outputs/__init__.py +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/flextool/plot_outputs/axis_helpers.py +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/flextool/plot_outputs/color_template.py +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/flextool/plot_outputs/config.py +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/flextool/plot_outputs/format_helpers.py +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/flextool/plot_outputs/legend_helpers.py +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/flextool/plot_outputs/orchestrator.py +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/flextool/plot_outputs/perf.py +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/flextool/plot_outputs/plan.py +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/flextool/plot_outputs/plot_bars.py +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/flextool/plot_outputs/plot_bars_detail.py +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/flextool/plot_outputs/plot_lines.py +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/flextool/plot_outputs/shared_manifest.py +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/flextool/plot_outputs/subplot_helpers.py +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/flextool/plot_outputs/unit_labels.py +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/flextool/process_inputs/__init__.py +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/flextool/process_inputs/import_old_excel_input.json +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/flextool/process_inputs/read_matpower.py +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/flextool/process_inputs/read_old_flextool.py +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/flextool/process_inputs/read_self_describing_excel.py +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/flextool/process_inputs/read_tabular_with_specification.py +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/flextool/process_inputs/write_self_describing_to_db.py +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/flextool/process_inputs/write_to_input_db.py +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/flextool/process_outputs/__init__.py +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/flextool/process_outputs/_annualize.py +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/flextool/process_outputs/_csv_sidecars.py +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/flextool/process_outputs/_excel_writer.py +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/flextool/process_outputs/_fan_labels.py +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/flextool/process_outputs/_inmemory_helpers.py +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/flextool/process_outputs/_sheet_names.py +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/flextool/process_outputs/_timeline_breaks.py +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/flextool/process_outputs/_unit_context.py +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/flextool/process_outputs/calc_capacity_flows.py +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/flextool/process_outputs/calc_connections.py +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/flextool/process_outputs/calc_group_flows.py +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/flextool/process_outputs/calc_slacks.py +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/flextool/process_outputs/calc_storage_vre.py +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/flextool/process_outputs/handoff_writers.py +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/flextool/process_outputs/out_ancillary.py +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/flextool/process_outputs/out_capacity.py +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/flextool/process_outputs/out_costs.py +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/flextool/process_outputs/out_flowgroup.py +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/flextool/process_outputs/out_flows.py +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/flextool/process_outputs/persist_realized_slice.py +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/flextool/process_outputs/read_highs_solution.py +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/flextool/process_outputs/read_variables.py +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/flextool/process_outputs/reduced_cells.py +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/flextool/process_outputs/solve_order.py +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/flextool/process_outputs/spinedb_replay.py +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/flextool/process_outputs/union_realized_slice.py +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/flextool/project_package.py +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/flextool/representative_periods/__init__.py +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/flextool/representative_periods/clustering.py +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/flextool/representative_periods/force_include.py +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/flextool/representative_periods/netload.py +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/flextool/representative_periods/netload_inputs.py +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/flextool/representative_periods/netload_iterate.py +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/flextool/representative_periods/preprocess.py +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/flextool/representative_periods/scenario_stack.py +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/flextool/representative_periods/weights.py +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/flextool/run_record/__init__.py +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/flextool/run_record/_owner.py +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/flextool/run_record/_status.py +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/flextool/run_record/_tee.py +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/flextool/safe_names.py +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/flextool/scenario_comparison/__init__.py +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/flextool/scenario_comparison/config_builder.py +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/flextool/scenario_comparison/db_reader.py +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/flextool/scenario_comparison/dispatch_data.py +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/flextool/scenario_comparison/dispatch_mappings.py +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/flextool/scenario_comparison/input_entity_colors.py +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/flextool/scenario_comparison/orchestrator.py +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/flextool/scenario_comparison/plan_union.py +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/flextool/scenario_comparison/plot_settings_seed.py +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/flextool/schemas/AXIS_CONTRACT.md +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/flextool/schemas/comparison_settings_template.json +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/flextool/schemas/flextool_axis_contract.schema.json +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/flextool/schemas/old_flextool_import_template.json +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/flextool/schemas/output_info_template.json +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/flextool/schemas/output_settings_template.json +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/flextool/schemas/pre_v26/flextool_template_constant_default.json +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/flextool/schemas/pre_v26/flextool_template_default_optional_output.json +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/flextool/schemas/pre_v26/flextool_template_default_value.json +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/flextool/schemas/pre_v26/flextool_template_drop_down.json +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/flextool/schemas/pre_v26/flextool_template_lifetime_method.json +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/flextool/schemas/pre_v26/flextool_template_optional_outputs.json +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/flextool/schemas/pre_v26/flextool_template_output_node_flows.json +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/flextool/schemas/pre_v26/flextool_template_results_master.json +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/flextool/schemas/pre_v26/flextool_template_rolling_start_remove.json +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/flextool/schemas/pre_v26/flextool_template_rolling_window.json +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/flextool/schemas/pre_v26/flextool_template_storage_binding_defaults.json +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/flextool/schemas/pre_v26/flextool_template_v2.json +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/flextool/schemas/pre_v26/flextool_template_v25.json +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/flextool/solver_config/copt.opt.template +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/flextool/solver_config/cplex.opt.template +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/flextool/solver_config/gurobi.opt.template +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/flextool/solver_config/highs.opt.template +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/flextool/solver_config/xpress.opt.template +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/flextool/spinedb_backend/__init__.py +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/flextool/spinedb_backend/_backend.py +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/flextool/sqlite_url.py +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/flextool/timeline_pieces.py +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/flextool/units_of_measure.py +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/flextool/update_flextool/bundle_install.py +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/flextool/update_flextool/canonical_databases.py +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/flextool/update_flextool/ensure_settings_db.py +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/flextool/update_flextool/export_database.py +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/flextool/update_flextool/extend_tests_fixture.py +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/flextool/update_flextool/fixture_schema.py +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/flextool/update_flextool/frozen.py +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/flextool/update_flextool/generate_canonical.py +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/flextool/update_flextool/initialize_database.py +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/flextool/update_flextool/install_info.py +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/flextool/update_flextool/migrate_before_run.py +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/flextool/update_flextool/self_update.py +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/flextool/update_flextool/sync_master_json_template.py +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/flextool/update_flextool/test_fixtures.py +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/flextool/user_dirs.py +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/flextool.egg-info/dependency_links.txt +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/flextool.egg-info/entry_points.txt +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/flextool.egg-info/top_level.txt +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/flextool_assistant_entry.py +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/flextool_run_supervisor.py +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/setup.cfg +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/tests/test_bar_layout.py +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/tests/test_bar_sub_pixel_labels.py +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/tests/test_blocks.py +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/tests/test_branch_weights.py +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/tests/test_child_python_safe_path.py +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/tests/test_child_run_argv.py +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/tests/test_ci_shard.py +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/tests/test_color_template.py +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/tests/test_commodity_ladder_rolling.py +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/tests/test_comparison_excel.py +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/tests/test_comparison_project_root.py +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/tests/test_comparison_results_registry.py +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/tests/test_complete_period_share_reduction.py +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/tests/test_connection_node_warnings.py +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/tests/test_console_run_tool.py +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/tests/test_cost_aggregation_semantics.py +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/tests/test_cost_breakdown_by_entity.py +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/tests/test_csv_dump_roundtrip.py +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/tests/test_dc_power_flow.py +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/tests/test_dependency_caps.py +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/tests/test_dispatch_consumer_and_connection_signs.py +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/tests/test_dispatch_multi_period.py +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/tests/test_dispatch_order_specials.py +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/tests/test_dispatch_scenario_tag.py +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/tests/test_ensure_settings_db.py +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/tests/test_entity_unitsize_invariant.py +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/tests/test_entity_universe_carrier.py +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/tests/test_env_check.py +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/tests/test_env_knob_registry.py +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/tests/test_excel_text_cells.py +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/tests/test_export_to_tabular.py +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/tests/test_extend_tests_fixture.py +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/tests/test_flowgroup_indicators.py +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/tests/test_force_include.py +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/tests/test_group_output_warnings.py +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/tests/test_handoff_writers.py +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/tests/test_lean_parquet.py +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/tests/test_lh2_three_region.py +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/tests/test_min_load_rolling.py +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/tests/test_model_builder_invest.py +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/tests/test_non_anticipativity.py +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/tests/test_old_flextool_importer_schema_drift.py +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/tests/test_open_results_db.py +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/tests/test_output_column_metadata.py +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/tests/test_output_csv_names.py +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/tests/test_output_metadata_renderers.py +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/tests/test_output_work_folder_isolation.py +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/tests/test_parameter_group_coverage.py +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/tests/test_period_share_of_year_output.py +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/tests/test_plan_union.py +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/tests/test_plot_draw_order.py +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/tests/test_plot_gaps.py +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/tests/test_plot_pipeline.py +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/tests/test_plot_plan_chunk_reconstruction.py +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/tests/test_plot_plan_time_labels_roundtrip.py +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/tests/test_plot_settings_seed.py +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/tests/test_project_package_cli.py +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/tests/test_read_highs_solution.py +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/tests/test_recourse_cost_reconciliation.py +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/tests/test_regional_filter.py +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/tests/test_representative_periods.py +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/tests/test_rolling_online_carry.py +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/tests/test_rolling_online_mintime_carry.py +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/tests/test_rolling_online_minuptime.py +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/tests/test_rp_alternative_name.py +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/tests/test_rp_force_include_wiring.py +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/tests/test_rp_solves_filter.py +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/tests/test_safe_names.py +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/tests/test_safe_text.py +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/tests/test_scenario_colors.py +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/tests/test_scenario_stack.py +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/tests/test_scenarios.py +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/tests/test_self_describing_reader.py +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/tests/test_shared_axis_manifest.py +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/tests/test_simple_bar_entity_color.py +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/tests/test_solve_config.py +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/tests/test_solve_reader.py +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/tests/test_sqlite_url.py +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/tests/test_stream_concat_temp_cleanup.py +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/tests/test_support_load.py +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/tests/test_synthesize_invest_dual.py +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/tests/test_thread_budget.py +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/tests/test_time_runs.py +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/tests/test_timeline_breaks.py +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/tests/test_timings_csv.py +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/tests/test_toolbox_specs.py +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/tests/test_unidirectional_connection.py +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/tests/test_unit_online_dt_columns.py +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/tests/test_units_of_measure.py +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/tests/test_user_dirs_isolation.py +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/tests/test_v52_migration.py +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/tests/test_v63_migration.py +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/tests/test_v64_migration.py +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/tests/test_v66_migration.py +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/tests/test_v67_migration.py +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/tests/test_v68_migration.py +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/tests/test_v69_migration.py +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/tests/test_v70_migration.py +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/tests/test_workdir_empty_default.py +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/tests/test_xlsx_startup_input_round_trip.py +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/tests/test_xlsx_v77_round_trip.py +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/tests/test_xlsx_workflow.py +0 -0
- {flextool-4.4.0 → flextool-4.5.0}/tests/test_years_represented.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: flextool
|
|
3
|
-
Version: 4.
|
|
3
|
+
Version: 4.5.0
|
|
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
|
|
@@ -39,7 +39,7 @@ Classifier: Topic :: Scientific/Engineering
|
|
|
39
39
|
Requires-Python: >=3.11
|
|
40
40
|
Description-Content-Type: text/markdown
|
|
41
41
|
License-File: LICENSE.txt
|
|
42
|
-
Requires-Dist: polar-high>=3.
|
|
42
|
+
Requires-Dist: polar-high>=3.15.0
|
|
43
43
|
Requires-Dist: highspy<1.16,>=1.15.1
|
|
44
44
|
Requires-Dist: polars<3,>=1.40
|
|
45
45
|
Requires-Dist: pandas<4,>=2.2.3
|
|
@@ -434,6 +434,7 @@ its flag is off. Required-field lists are module-level tuples in
|
|
|
434
434
|
| `has_coarse` | `nodeCoarse` + `node_coarse_step` | — | Nodes of coarse `new_stepduration` groups: `nodeBalanceCoarse_eq` (the summed `nodeBalance_eq` terms per coarse step), `stateConstantCoarse_eq`. |
|
|
435
435
|
| `has_online_{lin,int}` | `process_online_{linear,integer}` | `ONLINE` | `_online`: `v_online`, startup / shutdown, uptime / downtime; `_unit_floors`: min-load floors. |
|
|
436
436
|
| `has_minload_eff` | `process_min_load_eff` | `MINLOAD_EFF` | min_load_efficiency section terms. |
|
|
437
|
+
| `has_piecewise` | `process_piecewise` | `PIECEWISE` | `conversion_piecewise` (multi-line `piecewise_linear` units; `conversion_indirect` skips them). |
|
|
437
438
|
| `has_startup_cost_{lin,int}` | `pdt_online_{linear,integer}` | `STARTUP_COST_*` | Startup-cost objective term. |
|
|
438
439
|
| `has_ramp` | any `process_source_sink_ramp_limit_*` | `RAMP` | Ramp-up / ramp-down constraints. |
|
|
439
440
|
| `has_{invest,divest}_{p,n}` | `pd_{invest,divest}_set` / `nd_{invest,divest}_set` | `INVEST` / `DIVEST` | `v_invest` / `v_divest`, investment maxima, annuities. |
|
|
@@ -584,6 +585,36 @@ cross-product) → `promote_param_to_dt` (narrowing inner-join on the
|
|
|
584
585
|
carried axis). A new parameter that needs this must be added to
|
|
585
586
|
`PARAM_ALLOWED_SHAPES`.
|
|
586
587
|
|
|
588
|
+
##### Limits: `inf` is "no limit", a missing period is an error
|
|
589
|
+
|
|
590
|
+
A period-map limit read through `require_period_coverage` / `require_period_coverage_time` must cover every period
|
|
591
|
+
it applies to; a gap raises. "No limit in this period" is written as `inf` (`-inf` for a lower limit). The readers
|
|
592
|
+
pass `limit_side` (`"upper"` / `"lower"`): `check_limit_values` refuses the opposite infinity and warns, once per
|
|
593
|
+
(parameter, entity) and run, about a finite value of `HUGE_LIMIT_VALUE` (1e15) or more (kept as given: a huge
|
|
594
|
+
right-hand side wrecks the scaling). Two ways to drop the no-limit rows:
|
|
595
|
+
|
|
596
|
+
- `drop_no_limit=True` drops them at the reader, for a limit whose missing row already means no limit (the flow
|
|
597
|
+
group limits, whose rows come from the Param; a minimum whose 0 sets no floor: `inertia_limit`,
|
|
598
|
+
`invest_min_period`, `retire_min_period`, `cumulative_min_capacity`).
|
|
599
|
+
- Otherwise the Param keeps them and the consumer leaves the row out with `without_no_limit_rows(domain, param,
|
|
600
|
+
side)` and passes `drop_no_limit_rows(param, side)` as the right-hand side — for a family whose row domain does
|
|
601
|
+
not come from the Param (`co2_max_period` → `group_d_co2_capped`, the investment maxima behind FA-12,
|
|
602
|
+
`non_synchronous_limit` → `non_sync_rows`, `capacity_margin_absolute` / `capacity_margin_relative` → `capacity_margin_rows`, the user
|
|
603
|
+
constraint constant → `cdt_le` / `cdt_ge`). The variable bounds of an entity investment read an unlimited
|
|
604
|
+
`invest_max_period` / `cumulative_max_capacity` period as the no-limit bound (`max_flow_for_unconstrained_variables`).
|
|
605
|
+
|
|
606
|
+
A solve with `new_stepduration` aggregates a time map before these checks (`broadcast_to_period_time` →
|
|
607
|
+
`aggregate_if_active`), and the four time-series limits (`_solve_step_aggregation.NO_LIMIT_SIDE`:
|
|
608
|
+
`max_instant_flow`, `min_instant_flow`, `inertia_limit`, `non_synchronous_limit`) are MEANs: a solve step that
|
|
609
|
+
combines a no-limit time step with finite ones is itself `inf` (`-inf`), so the limit is dropped for the whole solve
|
|
610
|
+
step. That is kept on purpose (a partial limit has no single step value that is right); `_warn_mixed_no_limit_steps`
|
|
611
|
+
warns once per (parameter, entity) and run, naming the `period/step`s (5 shown, then "and N more"), and refuses a step
|
|
612
|
+
that combines `inf` and `-inf` (its mean would be NaN, which `check_limit_values` cannot see). No SUM, HARMONIC or
|
|
613
|
+
LAST series is a limit, so no other aggregation kind meets this.
|
|
614
|
+
|
|
615
|
+
Gated by `tests/engine/test_limit_inf_no_limit.py` (LP with `inf` = LP with a non-binding value minus that period's
|
|
616
|
+
rows, single / rolling / stochastic).
|
|
617
|
+
|
|
587
618
|
##### Silent-label Maps are resolved per entity, not per parameter
|
|
588
619
|
|
|
589
620
|
When the DB carries no explicit `index_name` on a Map (`"x"` or empty) and the registry admits both a
|
|
@@ -1511,22 +1542,35 @@ slack semantics.
|
|
|
1511
1542
|
tests with `FLEXTOOL_AUTOSCALE_STRICT=1` to turn the silent degrade
|
|
1512
1543
|
into a loud failure (off in production so a gap never blocks a user
|
|
1513
1544
|
solve).
|
|
1514
|
-
- **Layer 3 — HiGHS native
|
|
1515
|
-
|
|
1516
|
-
|
|
1517
|
-
|
|
1518
|
-
|
|
1519
|
-
|
|
1520
|
-
|
|
1521
|
-
|
|
1522
|
-
|
|
1545
|
+
- **Layer 3 — HiGHS native** (polar-high `_layer3.py`). Picks the
|
|
1546
|
+
power-of-two `user_bound_scale` / `user_objective_scale` exponents
|
|
1547
|
+
from the post-Layer-2 readout (the *meaningful* bound / RHS pool:
|
|
1548
|
+
continuous-column bounds and row bounds below HiGHS' `infinite_bound`,
|
|
1549
|
+
float residue below 10 × the primal tolerance left out). The tier
|
|
1550
|
+
exponent is clipped into the tolerance window `[10·tol, 1e18·tol]`;
|
|
1551
|
+
where the range forces a choice (the former escape tier, now
|
|
1552
|
+
`smallest-side`) the small end aims at 100 × tol, else at 10 × tol, and
|
|
1553
|
+
the large end takes the excess ("scale from the smallest side"). So
|
|
1554
|
+
the exponent there depends on `primal_feasibility_tolerance`. When no
|
|
1555
|
+
exponent fits, the tag is `unscalable+smallest-side` and the scaling
|
|
1556
|
+
guard decides. When Layer 2 did not run, Layer 3 reuses the Layer 1
|
|
1557
|
+
readout instead of walking the LP again.
|
|
1558
|
+
5. **YAML audit** (`engine/autoscale/_report.py`). Written before the
|
|
1559
|
+
solve (at decision time, so it exists when the guard stops a solve and
|
|
1560
|
+
on the `--save-memory` path) and again after it:
|
|
1561
|
+
`solve_data/autoscale_<solve>.yaml` covers Layer 1 ranges, the Layer 2
|
|
1562
|
+
plan (per-type exponents + post-L2 ranges), the Layer 3 plan
|
|
1563
|
+
(`user_bound_scale`, tier tag, tolerance window) and the scaling guard's
|
|
1564
|
+
`guard:` section (verdict, tolerances, every finding with its numbers,
|
|
1565
|
+
the families at each end and the entries named there).
|
|
1523
1566
|
A 1-line console summary echoes via `format_console_summary`; the
|
|
1524
1567
|
non-optimal hint (`format_nonoptimal_hint`) fires only when a *rejected*
|
|
1525
1568
|
solve's **post-autoscale** LP is still wide-ranged (i.e. the autoscaler
|
|
1526
1569
|
could not tame the spread), and even then it is framed as a possibility
|
|
1527
1570
|
— never as the certified cause. Accept/reject itself is decided by
|
|
1528
1571
|
`engine/solve/_acceptance.py` from the solver's own diagnostics
|
|
1529
|
-
(see "Solve acceptance" below), not by the range report.
|
|
1572
|
+
(see "Solve acceptance" below), not by the range report. The summary
|
|
1573
|
+
line ends with `guard=ok|warn|error` (`off` when not checked).
|
|
1530
1574
|
6. **Manual override.** `--user-bound-scale N` (or
|
|
1531
1575
|
`FLEXTOOL_USER_BOUND_SCALE`) pins Layer 3's bound-scale exponent and
|
|
1532
1576
|
disables the auto-pick. Useful when the audit hints at a value the
|
|
@@ -1536,6 +1580,65 @@ slack semantics.
|
|
|
1536
1580
|
Layer 3 reverse maps are applied in the writer so downstream
|
|
1537
1581
|
consumers see absolute units regardless of which layers fired.
|
|
1538
1582
|
|
|
1583
|
+
### Scaling range guard
|
|
1584
|
+
|
|
1585
|
+
`engine/autoscale/_guard.py` judges, before any solver runs, whether the
|
|
1586
|
+
LP the solver gets can be solved accurately after Layers 2 and 3
|
|
1587
|
+
(polar-high `assess_scaling`, a pure verdict; FlexTool holds the policy):
|
|
1588
|
+
|
|
1589
|
+
| group | warning | error |
|
|
1590
|
+
|---|---|---|
|
|
1591
|
+
| bound / RHS | spread above 13 decades | no power-of-two exponent puts every meaningful limit inside `[10·tol, 1e18·tol]` (17 decades), or a manual / external exponent leaves that window |
|
|
1592
|
+
| cost | spread above 13 decades, or smallest scaled cost below 10 × dual tolerance | — |
|
|
1593
|
+
| matrix | a coefficient term HiGHS drops (≤ 1e-9) or refuses (≥ 1e15); the spread is reported only | — |
|
|
1594
|
+
|
|
1595
|
+
* The verdict is taken after Layer 2. In full mode a lone placeholder
|
|
1596
|
+
(`1e18` next to `0.5`, 18.3 decades) is usually shrunk by Layer 2 to
|
|
1597
|
+
about 13 decades, so it only **warns** and Layer 3 keeps the small
|
|
1598
|
+
limits enforceable; it **stops** under `--scaling basic` (no Layer 2) or
|
|
1599
|
+
when Layer 2 cannot shrink it. A warning whose pre-Layer-2 spread
|
|
1600
|
+
(`decades_pre`) exceeds 17 decades adds "under --scaling basic this would
|
|
1601
|
+
stop".
|
|
1602
|
+
* `--scaling-guard error|warn|off` (`FLEXTOOL_SCALING_GUARD`, default
|
|
1603
|
+
`error`, no database tier; the GUI's Solver options → Scaling guard sends
|
|
1604
|
+
the flag): an error raises `ScalingRangeError` (a
|
|
1605
|
+
`FlexToolConfigError`, so `cmd_run_flextool` prints it without a
|
|
1606
|
+
traceback); `warn` prints it and solves; `off` checks nothing (Layer 3's
|
|
1607
|
+
window clip still applies). Warnings print once per run, keyed by base
|
|
1608
|
+
solve, Benders region, group, level and the roll's own exponent (if a
|
|
1609
|
+
recheck set one), so a later roll's error or new exponent still prints
|
|
1610
|
+
(`_behaviour_changes.warn_once`; the once-per-run log of an adjusted
|
|
1611
|
+
exponent uses `mark_once`, also reset by `start_run`).
|
|
1612
|
+
* The message names the solve (and roll / region), the spread and window
|
|
1613
|
+
at the solve's `primal_feasibility_tolerance`, the family and up to five
|
|
1614
|
+
entries at each end (polar-high `locate_extremes`, warning / error only),
|
|
1615
|
+
the violation HiGHS would accept in model units, whether Layer 2 widened
|
|
1616
|
+
the span, and the override.
|
|
1617
|
+
* Commercial solvers get no `user_*_scale`: judged at `N = 0` with the
|
|
1618
|
+
solver's own feasibility parameter (Gurobi `FeasibilityTol`, CPLEX
|
|
1619
|
+
`simplex tolerances feasibility`, Xpress `FEASTOL`, COPT `FeasTol`;
|
|
1620
|
+
default 1e-6), and every error only warns.
|
|
1621
|
+
* `FLEXTOOL_AUTOSCALE_STRICT=1` raises also under `warn` / `off`, but only
|
|
1622
|
+
for an error Layer 2 caused (the pre-Layer-2 pool fitted). A failure of
|
|
1623
|
+
the check itself (or of the range readout, monolith or Benders region)
|
|
1624
|
+
prints "the scaling guard could not run" once per run and the solve goes
|
|
1625
|
+
on (re-raised under strict).
|
|
1626
|
+
* Where it runs: after Layer 3 on the first solve of each LP shape (cold
|
|
1627
|
+
and warm paths; the verdict is cached in `_AutoscaleShapeCacheEntry` and
|
|
1628
|
+
replayed on a hit without a walk), and on every later roll that is built
|
|
1629
|
+
again, from the ranges of the LP actually built: polar-high's
|
|
1630
|
+
`pre_run_check` (`Problem.solve`, the first `WarmProblem.solve`, and
|
|
1631
|
+
`Problem.write_mps` on the `--save-memory` path, whose returned options
|
|
1632
|
+
go into the child's option file; when the hook or the call after it
|
|
1633
|
+
raises, the pre-solve YAML is rewritten with that roll's verdict). A
|
|
1634
|
+
roll whose smallest limit leaves the
|
|
1635
|
+
cached exponent's window gets its own exponent (Layer 3 on its ranges);
|
|
1636
|
+
when none fits the policy applies, with the roll named. A WarmProblem
|
|
1637
|
+
reuse solves the LP already checked and is not rechecked. Each Benders
|
|
1638
|
+
region subproblem is judged after its Layer 3, outside the best-effort
|
|
1639
|
+
`except` around it. `--scaling off|solver_only` runs no autoscaler and
|
|
1640
|
+
therefore no guard.
|
|
1641
|
+
|
|
1539
1642
|
### Solve acceptance
|
|
1540
1643
|
|
|
1541
1644
|
The cascade does **not** gate on a bare `kOptimal`. An interior-point
|
|
@@ -1563,6 +1666,29 @@ unscale resets status and info, not options): primal-relative ceiling
|
|
|
1563
1666
|
`max(1e-6, 10 × tolerance)`, absolute margin `10×` the tolerance, and P-D
|
|
1564
1667
|
gap `1e-2` (the same order as the `mip_rel_gap` models routinely accept).
|
|
1565
1668
|
The dual side is judged by the P-D gap only, so there is no dual ceiling.
|
|
1669
|
+
|
|
1670
|
+
The infeasibility count and the absolute check are made in the space HiGHS
|
|
1671
|
+
solved. Autoscale Layer 3's `user_bound_scale = N` makes HiGHS solve a
|
|
1672
|
+
problem whose bounds are `2^N` times the ones it was given and judge
|
|
1673
|
+
feasibility there; it then removes the scaling and recomputes its info
|
|
1674
|
+
counters without rescaling its tolerance, so with `N = -26` a residual of
|
|
1675
|
+
`1e-7` in the solved problem reads `6.7` afterwards and is counted as an
|
|
1676
|
+
infeasibility (and HiGHS's feasible/infeasible verdict, then just "count is
|
|
1677
|
+
zero", flips with it). With user scaling applied, the count, the absolute
|
|
1678
|
+
maximum and the verdict therefore come from polar-high's solved-space
|
|
1679
|
+
counters (`SolveDiagnostics.user_scaled_*`, polar-high >= 3.15.0: rebuilt
|
|
1680
|
+
exactly from the unscaled solution, as the scaling is by powers of two);
|
|
1681
|
+
the relative check stays on HiGHS's unscaled numbers. The trade-off: the
|
|
1682
|
+
absolute check now mirrors HiGHS's own tolerance and no longer limits the
|
|
1683
|
+
residual in the units of the problem passed to HiGHS (with `N = -26`, up to
|
|
1684
|
+
`2^26 × 10 × tolerance` there); the relative check is the guard in those
|
|
1685
|
+
units. Without user scaling, or with an older polar-high, the unscaled
|
|
1686
|
+
counters decide as before. The messages say which space each number is in.
|
|
1687
|
+
A MIP stopped by a limit is kept on the same solved-space verdict, also from
|
|
1688
|
+
the `--save-memory` HiGHS child (`cmd_solve_mps --primal-feasible`, read in
|
|
1689
|
+
place of the solution file's Feasible line). Commercial solvers never get
|
|
1690
|
+
the HiGHS user-scaling options.
|
|
1691
|
+
|
|
1566
1692
|
Each has a `FLEXTOOL_ACCEPT_*` env override; a set (positive)
|
|
1567
1693
|
`FLEXTOOL_ACCEPT_PRIMAL_REL` replaces the derived relative ceiling outright.
|
|
1568
1694
|
`FLEXTOOL_ACCEPT_NEAR_OPTIMAL=0` restores the legacy hard-fail (a MIP kept at
|
|
@@ -73,7 +73,7 @@ warm build, the handoff and the per-roll outputs. The per-roll emit and the inpu
|
|
|
73
73
|
from its fields only and drop them. Unchanged frames are shared. A level that changes nothing returns the
|
|
74
74
|
same object, so the LP is byte-identical.
|
|
75
75
|
|
|
76
|
-
- **Only clears, prunes, relaxes or folds.** Each part sets its fields to `None` (the field lists `RAMP_FIELDS`, `ONLINE_FIELDS`, `RESERVE_FIELDS`, ... in `_reduce_detail.py`), except `relax_integrality` (integer online columns continuous), the `min_load_efficiency`
|
|
76
|
+
- **Only clears, prunes, relaxes or folds to full load.** Each part sets its fields to `None` (the field lists `RAMP_FIELDS`, `ONLINE_FIELDS`, `RESERVE_FIELDS`, ... in `_reduce_detail.py`), except `relax_integrality` (integer online columns continuous), the full-load efficiency of `min_load_efficiency` and multi-line `piecewise_linear` units under `online*` (a constant_efficiency unit: `p_slope + p_section / W`, `p_section = 0`, `W` the weighted output one unit online gives at full output, `_unit_widths`; a multi-line unit leaves `process_piecewise` and its lines with `p_slope = 1/η(1)` (`W = 1`) or `max_g(α_g·W + β_g) / W`, `_full_load_piecewise`; the full model's fuel at full output and its input limits; module docstring "Full-load efficiency"; under `*_min_limits` the same fold for the `min_load_efficiency` units with a negative `p_section`, `_falling_min_load_eff`, which also leave `process_min_load_eff`) and the pruning of online variables without a use.
|
|
77
77
|
|
|
78
78
|
Under the `integers*` levels, `online_uses` lists, on the data after the level's removals, the uses of each
|
|
79
79
|
process's online variables (`ONLINE_USES`: start-up cost, min load / capacity_min_coeff floors, min up / down
|
|
@@ -364,6 +364,50 @@ walks straight back to `_state_change_terms` and the frames it reads:
|
|
|
364
364
|
most often `dtttdt` or `storage_bind_forward_only`, both populated by
|
|
365
365
|
the loader.
|
|
366
366
|
|
|
367
|
+
### Part-load curves (`piecewise_linear`)
|
|
368
|
+
|
|
369
|
+
User docs: units.md "Part-load efficiency curve". A unit with `conversion_method` *piecewise_linear* has a curve
|
|
370
|
+
`piecewise_linear_efficiency` (load share ℓ → efficiency η; one curve, or one per period; no time level). Its
|
|
371
|
+
fuel use per unit of capacity is `F(ℓ) = ℓ/η(ℓ)`, linear between the points; convexity (non-falling incremental
|
|
372
|
+
heat rate) is checked before the solve, so the curve is the upper envelope of its segment lines.
|
|
373
|
+
|
|
374
|
+
- **Curve → lines** (`engine/input/_piecewise_curve.py`, no FlexData dependency, shared by both classifiers and the
|
|
375
|
+
load boundary so they cannot drift): segment `k` has intercept `β_k = ℓ_{k−1}ℓ_k(1/η_{k−1} − 1/η_k)/(ℓ_k −
|
|
376
|
+
ℓ_{k−1})` (input per unit of capacity at zero output) and slope `α_k = 1/η_k − β_k/ℓ_k`; collinear points
|
|
377
|
+
merge. *Online form* (the unit has online variables): the segments, plus an origin line `(1/η₀, 0)` when the
|
|
378
|
+
efficiency falls from the first point. *Capacity form* (no online variables): the origin line through the best
|
|
379
|
+
point `(1/max η, 0)` plus the segments with `β < 0`, exact for a capacity used as a fleet (`min_U U·f(x/U)` with
|
|
380
|
+
`U ≤ built`). Both forms give the same full-load fuel `F(1)`.
|
|
381
|
+
- **Classes** (whole authored curve): one flat line → constant efficiency (`p_slope = 1/η`); one rising line →
|
|
382
|
+
a `process_min_load_eff` member (`p_slope = α`, `p_section = β`; byte-identical to *min_load_efficiency*);
|
|
383
|
+
two or more lines in some period → `process_piecewise` (fork forced, so the input has its own `v_flow`).
|
|
384
|
+
A rising first segment gives automatic *linear* start-ups in both classifiers.
|
|
385
|
+
- **Load boundary** (`preprocess/params/_piecewise.apply_piecewise_curves`, in `load_flextool` after the DB
|
|
386
|
+
overrides, on every path: single, rolling, synthetic, nested, stochastic): reads the points through
|
|
387
|
+
`_param_shapes` (`MAP_LOAD` / `MAP_PERIOD_LOAD`; branch periods inherit the anchor's curve; a solve period without
|
|
388
|
+
a curve raises), writes `p_piecewise_slope` / `p_piecewise_intercept` `(p, seg, d)` and `p_piecewise_points`,
|
|
389
|
+
overwrites the seeded `p_slope` / `p_section` in place and recomputes the input capacity Params derived from them.
|
|
390
|
+
One-input, one-output multi-line units (`process_piecewise_remap`) keep their input-side items on the output
|
|
391
|
+
(`_projection.single_input_curve_arc_remap`); reserves, operating cost, start-up input, commodity / CO2,
|
|
392
|
+
flowGroup membership and inertia stay on the input.
|
|
393
|
+
- **Model** (`core._eq_conversion_piecewise`, rows `conversion_piecewise` and the coarse twin): weighted input ≥
|
|
394
|
+
`pw_slope·x + pw_intercept·unitsize·U` for every line, `U` = units online, or the units built (existing count +
|
|
395
|
+
invested − divested) without online variables; `conversion_indirect` skips these units. The rows are `≥`, so the
|
|
396
|
+
input can exceed the curve where that costs nothing or pays (the over-burn cases, units.md "Input above the
|
|
397
|
+
curve"). Part-load measures of the reserve sizing use the lines (`_online._fuel_share`).
|
|
398
|
+
- **Detail reduction** (`_reduce_detail._full_load_piecewise`): `online*` runs the unit as a constant_efficiency
|
|
399
|
+
unit at its full-load efficiency (it leaves `process_piecewise` and the line fields; `p_slope` is the full-load
|
|
400
|
+
fuel per weighted output, `1/η(1)` at `W = 1`; the input limits stay; `process_piecewise_remap` stays, so a
|
|
401
|
+
one-input unit keeps its reserve pairing at `p_slope`). Under `integers*` the curve is an online use when its
|
|
402
|
+
efficiency rises from the first point (`process_piecewise_needs_online`); a unit without that use gets the
|
|
403
|
+
capacity-form lines (`_fold_piecewise`, the same least fuel).
|
|
404
|
+
- **Checks.** Before the solve: `input_derivation/_validators.validate_piecewise_linear_inputs` (E1–E10, E12; E11 in the reader; the
|
|
405
|
+
warnings W1–W7, W7 = setups that invite input above the curve). After the solve:
|
|
406
|
+
`process_outputs/calc_piecewise` measures per solve, in `read_parameters`, the weighted input and its part above
|
|
407
|
+
the curve (`process_piecewise_input_dt` / `process_piecewise_excess_dt`, solve-keyed, persisted per roll and
|
|
408
|
+
unioned like the other parameters) and `write_outputs` logs W5 per unit (steps with
|
|
409
|
+
`excess > 1e-5·max(1, q)`, the largest and the total). No result table.
|
|
410
|
+
|
|
367
411
|
### RP-blended-weights inter-period coupling
|
|
368
412
|
|
|
369
413
|
Representative-period storage (`b.has_rp`, set when `d.nodeState_rp`
|
|
@@ -29,6 +29,7 @@ read (for example `FLEXTOOL_HIGHS_THREADS=many`) is ignored with one warning tha
|
|
|
29
29
|
| `FLEXTOOL_HIGHS_MIP_GAP` | none | relative gap | The former name of `FLEXTOOL_SOLVER_MIP_GAP`, now for HiGHS only. The flag and `FLEXTOOL_SOLVER_MIP_GAP` win over it. |
|
|
30
30
|
| `FLEXTOOL_SOLVER_LOG_LEVEL` | `--solver-log-level` | `silent` / `normal` / `verbose` | Solver log output (default `normal`); `silent` also hides a commercial solver's log (still saved as `solve_data/subprocess/<solve>.log`); `verbose` is HiGHS only. |
|
|
31
31
|
| `FLEXTOOL_SCALING` | `--scaling` | `off` / `solver_only` / `basic` / `full` | Autoscaler strategy for every solve; overrides each solve's `scaling` (default `full`). See [LP scaling pipeline](dev/scaling.md). |
|
|
32
|
+
| `FLEXTOOL_SCALING_GUARD` | `--scaling-guard` | `error` / `warn` / `off` | What a solve whose limits and bounds the solver cannot enforce accurately after scaling does: `error` (default) stops before the solve, `warn` prints the message and solves, `off` does not check. See [The scaling guard](dev/scaling.md#the-scaling-guard). |
|
|
32
33
|
| `FLEXTOOL_USER_BOUND_SCALE` | `--user-bound-scale` | integer in `[-10, 0]` | Pins HiGHS' `user_bound_scale` exponent; unset lets the autoscaler choose. |
|
|
33
34
|
| `FLEXTOOL_SAVE_MEMORY` | `--save-memory` | `1` | Solve each LP in a separate process to lower peak memory (slower). |
|
|
34
35
|
| `FLEXTOOL_WARM_START` | `--warm-start` | `1` | Reuse a cached HiGHS basis for solves of the same model structure, both in-process and with `--save-memory` (not for Benders solves). |
|
|
@@ -148,7 +148,7 @@ The **Png settings** dialog has separate sections for **scenario** and **scenari
|
|
|
148
148
|
- **Duration** — number of timesteps to plot (0 = until the end of the data).
|
|
149
149
|
- **Plot config file** — YAML config defining what plots to render and how. The shipped default is the bundled `flextool/schemas/default_plots.yaml`.
|
|
150
150
|
- **Active configs** — checkbox list of named configurations from the chosen file. Only checked configs are rendered.
|
|
151
|
-
- **Dispatch plots** *(comparison section only)* — toggle whether dispatch time-series plots are included in comparisons. In a multi-period scenario the periods follow one another along the time axis (the period names below the time steps), with a gap where a period does not continue the previous one; *Start timestep* and *Duration* count the time steps across the periods, so the default window shows only the start of the first period of a long run. The companion **Edit dispatch plots…** button opens a YAML editor for the dispatch config.
|
|
151
|
+
- **Dispatch plots** *(comparison section only)* — toggle whether dispatch time-series plots are included in comparisons. In a multi-period scenario the periods follow one another along the time axis (the period names below the time steps), with a gap where a period does not continue the previous one; *Start timestep* and *Duration* count the time steps across the periods, so the default window shows only the start of the first period of a long run. The companion **Edit dispatch plots…** button opens a YAML editor for the dispatch config. With dispatch plots on, the comparison also draws the ramp envelope and ramp frequency plots of the same node groups (and, with **Debug**, nodes); see [Ramp envelope](results.md#ramp-envelope).
|
|
152
152
|
- **Just one file per plot** — render only the first file of a plot that is split into several files (a quick overview).
|
|
153
153
|
- **Write plotted data (CSV)** — also write the data drawn in each plot as a CSV file next to its image, with the same name (see [Plotted data as CSV](results.md#plotted-data-as-csv)). A `write_plot_data: true` in the project's `plot_settings.yaml` turns this on whatever the checkbox says; the checkbox then shows as checked and greyed out, with "on in plot_settings.yaml" next to it.
|
|
154
154
|
|
|
@@ -156,7 +156,7 @@ The dialog is purely a configuration step; rendering happens via the Status cell
|
|
|
156
156
|
|
|
157
157
|
### Solver options → On this computer
|
|
158
158
|
|
|
159
|
-
The **Solver options…** dialog sets the log level, the time limit, the scaling and HiGHS' presolve of the project's runs (saved in the project's `settings.yaml`). Its **On this computer…** button opens the solver settings of this computer, which are saved in `solver_settings.json` in FlexTool's user settings folder and never travel with a project, a workspace or a database:
|
|
159
|
+
The **Solver options…** dialog sets the log level, the time limit, the scaling, the scaling guard and HiGHS' presolve of the project's runs (saved in the project's `settings.yaml`). **Scaling guard** (`--scaling-guard`) decides what a solve does when its limits and bounds are too far apart for the solver even after FlexTool's scaling: *Default (error)* sends nothing and stops before such a solve, as a terminal run does; *Warn* prints the message and solves; *Off* does not check (see [The scaling guard](dev/scaling.md#the-scaling-guard)). Its **On this computer…** button opens the solver settings of this computer, which are saved in `solver_settings.json` in FlexTool's user settings folder and never travel with a project, a workspace or a database:
|
|
160
160
|
|
|
161
161
|
- **Solver wrapper** of Gurobi, CPLEX, Xpress and COPT: the full path of a program that starts in front of the solver (for example to hold a floating licence), and its arguments, one per line. OK checks each program and shows what is wrong (a missing file, a relative path, a `.bat` / `.cmd` or PowerShell script). A wrapper set by its environment variable (`FLEXTOOL_SOLVER_WRAPPER_GUROBI`, `FLEXTOOL_SOLVER_WRAPPER_CPLEX`, ...) is shown greyed out: the variable wins. See [Running a solver through a wrapper](solvers/index.md#running-a-solver-through-a-wrapper).
|
|
162
162
|
- **Allow solver parameter names that are not in FlexTool's list from input databases** (off by default; greyed out when `FLEXTOOL_ALLOW_UNLISTED_SOLVER_PARAMETERS` is set). See [What the database may set](solvers/index.md#what-the-database-may-set).
|
|
@@ -218,6 +218,8 @@ The **Result viewer** is its own window. It reads scenarios directly from parque
|
|
|
218
218
|
| Alt-↑ / Alt-↓ | Reorder comparison rows |
|
|
219
219
|
| Tab | Cycle focus between the three panes |
|
|
220
220
|
|
|
221
|
+
In **Dispatch** mode a selector next to the time range chooses what the selected node or node group shows: **Dispatch** (the stacked flows), **Ramp envelope** (how much the flows could still change toward the next step, over the Start / Duration window, with the net-load and demand ramps as lines) or **Ramp frequency** (a histogram of how fast the net load and the demand change, over every period of the selected scenario). See [Ramp envelope](results.md#ramp-envelope).
|
|
222
|
+
|
|
221
223
|
Click the **Results viewer** button in the side menu, or **View results** in the right-click menu of an executed scenario, to open it. Closing the main window also closes the viewer.
|
|
222
224
|
|
|
223
225
|
Two behaviour notes worth knowing:
|
|
@@ -43,7 +43,7 @@ The objectives below assume no `inflation_rate` (0).
|
|
|
43
43
|
| *co2_existing_measures* | 2.0 Mt | 1.8 Mt | 1.6 Mt | 1.4 Mt |
|
|
44
44
|
| *co2_additional_measures* | 2.0 Mt | 1.5 Mt | 1.0 Mt | 0.5 Mt |
|
|
45
45
|
|
|
46
|
-
**No limit is
|
|
46
|
+
**No limit is `inf`.** The system alternative sets `co2_method` *period*, and a group with that method must have a `co2_max_period`: no value is an error, and so is a period missing from a map. For no limit in a period, give `inf` there (a constant `inf` limits no period): that period then has no CO2 limit row. Do not use a very large number such as 1e18 instead: it is used as a limit, and a number that large makes the solve numerically unstable (FlexTool warns about values of 1e15 or more). The example's scenario without measures gives 3.0 Mt/a, a limit that does not bind: coal alone would emit 300 MW × 0.85 t/MWh × 8760 h = 2 233 800 t/a. Another way is to set `co2_method` in the trajectory alternatives only.
|
|
47
47
|
|
|
48
48
|
**The scenarios.** Each scenario is *init*, *west*, *coal*, *co2_trajectory_system* and one trajectory, with the trajectory ranked last so that it overrides the others (see [the tutorial on alternative order](../tutorial.md#step-1-a-node-with-no-units)).
|
|
49
49
|
|
|
@@ -37,7 +37,7 @@ FlexTool splits these two concerns across a node `group` and a separate `flowGro
|
|
|
37
37
|
|
|
38
38
|
| Intent | Set this | Role | Members |
|
|
39
39
|
|---|---|---|---|
|
|
40
|
-
| Pick a set of nodes and get a per-timestep *decomposition* of every flow crossing them (one column per contributing process/connection) | `print_dispatch: yes` on `group` | the *decomposition* — produces `group_flow_t` | `group__node` |
|
|
40
|
+
| Pick a set of nodes and get a per-timestep *decomposition* of every flow crossing them (one column per contributing process/connection) | `print_dispatch: yes` on `group` | the *decomposition* — produces `group_flow_t`, and the group's ramp envelope `ramp_envelope_t` | `group__node` |
|
|
41
41
|
| Re-bucket a set of flows so they appear as a single aggregated band inside that dispatch output | `flow_aggregator: dispatch_plots_only` on `flowGroup` | a dispatch-band re-bucketer — no output on its own | `flowGroup__unit__node` or `flowGroup__connection__node` |
|
|
42
42
|
|
|
43
43
|
Together they work like this: `print_dispatch` builds the dispatch table for its node group; while doing so it inspects every flow touching those nodes, and if any of those flows are in a `flowGroup` whose `flow_aggregator` is `dispatch_plots_only` (or `both`), their columns are collapsed into a single band named after the flowGroup. A `dispatch_plots_only` flowGroup produces no output of its own — it only reshapes a dispatch table that a node group is producing.
|
|
@@ -166,7 +166,7 @@ It needs to be added to an alternative in the `Entity Alternative` sheet.
|
|
|
166
166
|
And parameters:
|
|
167
167
|
|
|
168
168
|
- `efficiency`: 1
|
|
169
|
-
- `existing`:
|
|
169
|
+
- `existing`: The largest flow the spill may need to carry, e.g. the peak inflow into the reservoir. The spill is then not limited in practice. Do not use a very large number instead (such as 1e9): the capacity scales the spill unit's flow, and a number far above the system's other flows makes the solve numerically unstable.
|
|
170
170
|
|
|
171
171
|

|
|
172
172
|
|
|
@@ -217,6 +217,28 @@ The first time step of a solve, the first step after a gap in the timeline and t
|
|
|
217
217
|
|
|
218
218
|

|
|
219
219
|
|
|
220
|
+
## How to give a unit a part-load efficiency curve
|
|
221
|
+
|
|
222
|
+
A thermal unit is usually least efficient at low load. *min_load_efficiency* (above) gives the fuel use as one straight line between minimum load and full load. For a curve with more points, set `conversion_method` to *piecewise_linear* and give the curve as `piecewise_linear_efficiency`: a map from load share (0–1 of the capacity online) to the efficiency at that load. The fuel use is linear between the points. `efficiency` and `efficiency_at_min_load` are not used.
|
|
223
|
+
|
|
224
|
+
**A thermal unit.** A 100 MW *coal_plant* (`virtual_unitsize` 100) with the curve `{0.4: 0.30, 0.7: 0.40, 1.0: 0.42}` and `min_load` 0.4. Per 100 MW online:
|
|
225
|
+
|
|
226
|
+
| load share | output [MW] | efficiency | heat rate = 1 / efficiency [MWh fuel / MWh] | fuel [MW] |
|
|
227
|
+
|---|---|---|---|---|
|
|
228
|
+
| 0.4 | 40 | 0.30 | 3.333 | 133.3 |
|
|
229
|
+
| 0.7 | 70 | 0.40 | 2.500 | 175.0 |
|
|
230
|
+
| 1.0 | 100 | 0.42 | 2.381 | 238.1 |
|
|
231
|
+
|
|
232
|
+
Between the points the slope of the fuel use is the incremental heat rate: (175.0 − 133.3) / 30 = 1.389 from 40 to 70 MW and (238.1 − 175.0) / 30 = 2.103 from 70 to 100 MW. It must not fall from one segment to the next (the curve must be convex); a curve where it falls is an error, and the message gives the nearest curve that is accepted. Extended down to zero output, the first segment reaches 133.3 − 1.389 × 40 = 77.8 MW: the fuel the unit burns per 100 MW online even at zero output. So the unit needs online variables. Without a `startup_method` it gets *linear* start-ups (an info line says so); with `startup_method` *binary* it commits whole 100 MW units, as assumed below. One unit online at 60 MW (load share 0.6) burns 77.8 + 1.389 × 60 = 161.1 MW of fuel (efficiency 0.372); two units at 130 MW (load share 0.65 each) burn 2 × 77.8 + 1.389 × 130 = 336.1 MW.
|
|
233
|
+
|
|
234
|
+
**From heat rates.** Data sheets often give heat rates. The efficiency at a load is 1 / heat rate (3.333 → 0.30). When the data gives a full-load heat rate and incremental heat rates, compute the fuel use at each point from the full-load point backwards (fuel = output × heat rate at full load, then subtract incremental heat rate × the output step of each segment) and take efficiency = output / fuel at each point.
|
|
235
|
+
|
|
236
|
+
**min_load.** `min_load` does not move the curve. Set it to the first point's load share (0.4 here): with a lower `min_load` the first segment is extended below the first point, and without any the unit could be online at zero output burning 77.8 MW of fuel per 100 MW (a warning says so). On a unit with several outputs, the curve's load share is the output weighted by `conversion_flow_coeff`, while `min_load` is on the plain sum of the outputs.
|
|
237
|
+
|
|
238
|
+
**An electrolyser.** An electrolyser is most efficient at low load. The 100 MW *electrolyser* with `{0.2: 0.70, 0.6: 0.66, 1.0: 0.60}` (no `startup_method`) needs no online variables: its curve is scaled by its built capacity. At 30 MW of hydrogen (load share 0.3) it takes 100 × (0.2 / 0.70 + 0.1 × 1.558) = 44.2 MW of power. In hours when power is free (curtailment) or the input node has a surplus, the model may take more power than the curve needs: the input can only be at least the curve's fuel use. A warning after the solve gives the amount; see *Input above the curve* in [Units](../reference/units.md#part-load-efficiency-curve-piecewise_linear).
|
|
239
|
+
|
|
240
|
+
**A curve per period.** A map from period to a curve gives each period its own curve (e.g. an ageing unit). The curve cannot vary in time.
|
|
241
|
+
|
|
220
242
|
## How to give a unit a start-up fuel or start-up heat
|
|
221
243
|
|
|
222
244
|
A start-up can use energy that the running unit does not: a coal unit is started on oil, a gas turbine burns gas to warm up, a CSP turbine takes steam from its tank before it delivers power. The input arc of the unit (`unit__inputNode`) says what it supplies, with `startup_input_method`:
|
|
@@ -24,7 +24,8 @@ FlexTool is a linear (or mixed-integer) optimisation model of an energy system.
|
|
|
24
24
|
`virtual_unitsize` splits a fleet into smaller units to keep a *binary* model fast.
|
|
25
25
|
|
|
26
26
|
- **No start-up fuel.** A start-up costs only `startup_cost` [CUR/MW]: it uses no fuel or heat, and there is no shut-down cost and no hot, warm or cold start.
|
|
27
|
-
- **Fuel use is linear
|
|
27
|
+
- **Fuel use is piecewise linear and convex.** With `conversion_method` *min_load_efficiency* the fuel use is a straight line from minimum load to full load; with *piecewise_linear* it is linear between the points of a part-load curve. A curve whose incremental heat rate falls from one segment to the next (a non-convex curve) is not accepted, and the curve cannot vary in time.
|
|
28
|
+
- **A part-load curve is a lower bound on the input.** A *piecewise_linear* curve with two or more segments requires the input to be at least the curve's fuel use. Where extra input costs nothing or pays (a surplus or free input, a negative price or CO2 credit, a reserve or a minimum on the input), the input can be above the curve; a warning after the solve gives the amount. See [Part-load efficiency curve](reference/units.md#part-load-efficiency-curve-piecewise_linear).
|
|
28
29
|
- **No parameter that keeps a unit online.** A unit can be made to produce (a profile, a flow group floor), but there is no parameter that fixes its online status alone.
|
|
29
30
|
|
|
30
31
|
A user constraint on the units online (`constraint_online_coeff`) sets a minimum number of units online; see
|
|
@@ -46,7 +47,7 @@ FlexTool is a linear (or mixed-integer) optimisation model of an energy system.
|
|
|
46
47
|
- **The dispatch does not feed back into the investment.** An investment solve does not see the results of the dispatch solves that follow it.
|
|
47
48
|
|
|
48
49
|
If a dispatch check shows unserved energy or reserve shortfall, change the investment solve by hand: a better
|
|
49
|
-
sample of representative periods, a `
|
|
50
|
+
sample of representative periods, a capacity margin (`capacity_margin_method`) or an energy margin, and run again; see
|
|
50
51
|
[Several milestones](how_to/solve_sequences.md#several-milestones-representative-period-investment-then-a-full-year-dispatch-of-each).
|
|
51
52
|
The net-load re-selection of representative periods is the one loop that FlexTool runs for you.
|
|
52
53
|
|
|
@@ -33,7 +33,7 @@ Connections can transfer energy between two nodes. Parameters for the connection
|
|
|
33
33
|
- `lifetime` - [years] Operating lifetime. It starts when the capacity starts to operate: with a construction lead time, after the construction. Used with the discount rate to calculate the annuity. What happens at the end of the lifetime depends on `lifetime_method`: *reinvest_automatic* keeps the capacity to the end of the model horizon, *reinvest_choice* retires it, *no_investment* retires it once. The `existing` capacity ends at the first year of the model run plus the `lifetime` of the first period (in every solve of a chain of solves). Constant or period.
|
|
34
34
|
- `construction_lead_time` - [years] Time from the investment decision until the capacity starts to operate. The start is rounded to the start of a period (see `construction_lead_time_method`). Investments whose rounded start is after the end of the solve or the model horizon are not offered, with a warning. Constant or period. Default 0. See [construction lead time](../how_to/investment.md#how-to-make-investments-storageunit).
|
|
35
35
|
- `construction_lead_time_method` - How the start of operation (decision year plus `construction_lead_time`) is rounded to the start of a period: *immediate* (no lead time, the capacity operates from the decision period), *closest_seam* (the nearest period start; a tie goes to the later one), *previous_seam* (the period start before), *next_seam* (the period start after). Without a value: *immediate* when there is no lead time, else *closest_seam*.
|
|
36
|
-
- other investment parameters: `invest_max_total`, `invest_max_period`, `invest_min_total`, `invest_min_period`, `salvage_value` (only `existing` capacity can be retired, see [retirements](units.md#retirements))
|
|
36
|
+
- other investment parameters: `invest_max_total`, `invest_max_period`, `invest_min_total`, `invest_min_period`, `salvage_value` (only `existing` capacity can be retired, see [retirements](units.md#retirements)) As for units, `inf` in `invest_max_period`, `retire_max_period` or `cumulative_max_capacity` means no limit in that period, and 0 or `-inf` in a minimum no minimum.
|
|
37
37
|
- `is_DC` - A flag whether the connection is DC: its flow into a node of a group with a *non_synchronous_limit* counts as non-synchronous (both directions; between two nodes of the same group it does not count). Default false. An `is_DC` connection inside a `dc_power_flow_with_angles` group is not a DC power-flow line: it keeps its own `transfer_method` and needs no `reactance`.
|
|
38
38
|
- `virtual_unitsize` - [MW] Size of one unit of the connection. With it, `existing` is the number of units. Binary startups commit whole units of this size. Investments and retirements are continuous; their limits are in MW. No value: the existing capacity, or 1000 MW without it.
|
|
39
39
|
- `availability` - [e.g. 0.9 means 90%] Fraction of capacity available for connection flows. Constant, period, time or period+time.
|
|
@@ -100,7 +100,7 @@ Timesets pick one or more sections from the `timeline` to form a `timeset`. Each
|
|
|
100
100
|
|
|
101
101
|
- Stochastic parameters:
|
|
102
102
|
|
|
103
|
-
- *stochastic_branches*: 4D-map defining the solve's **forecast branches** — the probability-weighted possible futures. Index columns: *period*, *branch*, *analysis_time* (the branch's start timestep), *realized* (yes/no), and the value is the branch's **probability weight**. The weights are normalized to sum to one across the forecast branches at each start time. The *realized* flag is an **optional designation** (at most one branch per start time) marking which branch's data are treated as the actuals for the committed / realized-dispatch results; a realized-flagged branch is **not** a weighted member of the forecast fan. A period-indexed value (a map keyed by period, e.g. efficiency, startup cost, commodity price, availability, variable cost or a per-period limit) also applies to that period's forecast branches; a value authored for a branch period itself takes precedence. See 'How to use stochastics' for more information.
|
|
103
|
+
- *stochastic_branches*: 4D-map defining the solve's **forecast branches** — the probability-weighted possible futures. Index columns: *period*, *branch*, *analysis_time* (the branch's start timestep), *realized* (yes/no), and the value is the branch's **probability weight**. The weights are normalized to sum to one across the forecast branches at each start time. The *realized* flag is an **optional designation** (at most one branch per start time) marking which branch's data are treated as the actuals for the committed / realized-dispatch results; a realized-flagged branch is **not** a weighted member of the forecast fan. A period-indexed value (a map keyed by period, e.g. efficiency, startup cost, commodity price, availability, variable cost or a per-period limit) also applies to that period's forecast branches; a value authored for a branch period itself takes precedence. A branch may have the name of another period, but FlexTool warns: the two are easy to confuse in the results; a branch named like the period where it fans out is an error (rename the branch). See 'How to use stochastics' for more information.
|
|
104
104
|
- *stochastic_invest_method*: `none` (default) or `recourse`. `none` makes a single shared here-and-now investment plan across all forecast branches (operations still fan per branch). `recourse` gives per-branch (wait-and-see) investment: each forecast branch invests on its own data at and after the branching period, with probability-weighted investment costs and per-branch investment limits, and reports EVPI/VSS-style stochastic value. Forecast-branch (unrealized) investments are not in the normal outputs, only in the raw dump of `model.output_horizon` (a debug flag). Incompatible with Benders decomposition. See 'How to use stochastics' for the interpretation caveats.
|
|
105
105
|
|
|
106
106
|
- Detail reduction parameters (see [Leaving out detail in a solve](#leaving-out-detail-in-a-solve)):
|
|
@@ -153,9 +153,9 @@ What each value removes:
|
|
|
153
153
|
- `none` removes nothing.
|
|
154
154
|
- `integers` removes: whole units online (they become continuous) and the `exact` connection method (those connections become *regular*).
|
|
155
155
|
- `integers_ramps` removes: what `integers` removes, and the ramp limits and ramp costs.
|
|
156
|
-
- `integers_min_limits` removes: what `integers` removes, and min load, the `capacity_min_coeff` floors and the minimum up and down times.
|
|
156
|
+
- `integers_min_limits` removes: what `integers` removes, and min load, the `capacity_min_coeff` floors and the minimum up and down times. A `min_load_efficiency` unit more efficient at min load than at full load runs at its full-load efficiency.
|
|
157
157
|
- `integers_ramps_min_limits` removes: what `integers` removes, the ramp limits and ramp costs, and the min limits.
|
|
158
|
-
- `online` removes: what `integers_min_limits` removes, and the online variables: units online, start-ups, shut-downs, start-up costs, the user constraints with a `constraint_online_coeff` term and the part-load curve of `min_load_efficiency` units. Ramp limits stay and apply to the capacity.
|
|
158
|
+
- `online` removes: what `integers_min_limits` removes, and the online variables: units online, start-ups, shut-downs, start-up costs, the user constraints with a `constraint_online_coeff` term and the part-load curve of `min_load_efficiency` and `piecewise_linear` units (they run at their full-load efficiency). Ramp limits stay and apply to the capacity.
|
|
159
159
|
- `online_ramps` removes: what `online` removes, and the ramp limits and ramp costs.
|
|
160
160
|
|
|
161
161
|
Each `integers*` level also removes the online variables that nothing in the solve uses any more (see
|
|
@@ -178,12 +178,27 @@ The parts in detail:
|
|
|
178
178
|
- **Min limits.** `min_load`, the `capacity_min_coeff` floors and the minimum up and down times (`min_uptime`, `min_downtime`).
|
|
179
179
|
|
|
180
180
|
A unit with `min_load_efficiency` keeps its part-load curve. Without the min load floor its units online can
|
|
181
|
-
follow its output (units online ≈ output / capacity), so its fuel becomes close to linear in output.
|
|
181
|
+
follow its output (units online ≈ output / capacity), so its fuel becomes close to linear in output. A
|
|
182
|
+
`min_load_efficiency` unit that is more efficient at min load (`efficiency_at_min_load` above `efficiency`)
|
|
183
|
+
instead runs at its full-load efficiency, as under `online` (see *Online variables* below): without the floor
|
|
184
|
+
the model would keep all its units online, and its curve would then give less fuel than at any point of the
|
|
185
|
+
curve, below zero at low output.
|
|
182
186
|
|
|
183
187
|
- **Online variables.** The units online of every unit and connection with a `startup_method`, and with them start-ups, shut-downs, start-up costs and the min limits.
|
|
184
188
|
|
|
185
|
-
A unit with `conversion_method` *min_load_efficiency*
|
|
186
|
-
|
|
189
|
+
A unit with `conversion_method` *min_load_efficiency* or *piecewise_linear* runs as a *constant_efficiency*
|
|
190
|
+
unit at its full-load efficiency: `efficiency` for *min_load_efficiency*, the curve's point at load share 1
|
|
191
|
+
for *piecewise_linear*. Its fuel is its output divided by that efficiency at every output, the same fuel as with
|
|
192
|
+
the online variables at full load. "Full load" is the most output, weighted by `conversion_flow_coeff`, that one
|
|
193
|
+
unit online can give (its outputs filled in descending `conversion_flow_coeff` order up to their
|
|
194
|
+
`capacity_max_coeff` and the capacity): for a unit whose weighted outputs add up to more or less than its
|
|
195
|
+
capacity (for example one output with `conversion_flow_coeff` 2), the full-load fuel is spread over that
|
|
196
|
+
output, so the fuel at full output is still the same as with the online variables and the unit keeps its input
|
|
197
|
+
limits. Why full load: without online variables (typically in an investment solve) the investment cost stops
|
|
198
|
+
the model from building more than it needs, so the units mostly run at full capacity or not at all, and the
|
|
199
|
+
full-load efficiency is the one that matters most. This applies also to a unit that is more efficient at part
|
|
200
|
+
load (`efficiency_at_min_load` above `efficiency`, or a curve whose best efficiency is below full load): it gets
|
|
201
|
+
the poorer full-load efficiency and so uses more fuel at part load than with the online variables. A user constraint with a `constraint_online_coeff` term is left out of
|
|
187
202
|
the solve whole, with a warning that names it. Ramp limits that are kept apply to the capacity, so a unit that
|
|
188
203
|
starts from zero ramps up at its ramp speed (there is no start-up allowance). `online` contains every effect of
|
|
189
204
|
`integers`, so the solve is an LP.
|
|
@@ -193,7 +208,8 @@ The parts in detail:
|
|
|
193
208
|
were *no_startup*.
|
|
194
209
|
|
|
195
210
|
The online variables are used by: a start-up cost (`startup_cost`), `min_load` and the `capacity_min_coeff`
|
|
196
|
-
floors, the minimum up and down times, the part-load curve of a *min_load_efficiency* unit
|
|
211
|
+
floors, the minimum up and down times, the part-load curve of a *min_load_efficiency* unit or of a
|
|
212
|
+
*piecewise_linear* unit whose efficiency rises from the first point of its curve to the second, a
|
|
197
213
|
`constraint_online_coeff` term in a user constraint of the solve, a reserve that the unit or connection holds,
|
|
198
214
|
inertia (an `inertia_constant` at a node of a group with `has_inertia`), ramp limits (their start-up and
|
|
199
215
|
shut-down allowance) and, in a realization solve, the units online it takes from its parent solve. A reserve or
|
|
@@ -255,10 +271,11 @@ run log says so in the solve's info line:
|
|
|
255
271
|
- `*min_limits` or `online*` with downward reserves kept: the downward reserve can reach down to zero flow, not only to min load.
|
|
256
272
|
- `integers*` with a `constraint_online_coeff` term: the user constraint counts fractional units online.
|
|
257
273
|
|
|
258
|
-
**An approximation
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
274
|
+
**An approximation.** Every part only removes constraints or integer restrictions, except the full-load
|
|
275
|
+
efficiency of `min_load_efficiency` and `piecewise_linear` units under `online*` (and of `min_load_efficiency`
|
|
276
|
+
units more efficient at min load under `*min_limits`). A unit whose efficiency rises
|
|
277
|
+
towards full load uses less fuel at part load than with its curve, a unit that is more efficient at part load uses
|
|
278
|
+
more; at full output the fuel is the same. CO2 limits read that fuel.
|
|
262
279
|
|
|
263
280
|
**Across solves.** Every roll of a rolling solve uses the solve's levels. A nested solve uses its own levels, not
|
|
264
281
|
its parent's. A Benders decomposition can split connections whose reserves, online variables or `exact` method
|
|
@@ -284,7 +301,7 @@ have no entity columns.
|
|
|
284
301
|
feature out. A period shared with a solve that kept the feature keeps its per-period value, in which the time
|
|
285
302
|
steps of the solve that left it out count as 0. Its row is labelled with the last solve that realized the period,
|
|
286
303
|
which may be the one that left the feature out. The costs stay: a left-out feature costs nothing in the solve.
|
|
287
|
-
The fuel of a `min_load_efficiency` unit under `online*` is its output divided by its full-load efficiency.
|
|
304
|
+
The fuel of a `min_load_efficiency` or `piecewise_linear` unit under `online*` is its output divided by its full-load efficiency (see "Online variables" above for full load).
|
|
288
305
|
|
|
289
306
|
### Time structure assumptions
|
|
290
307
|
|
|
@@ -4,10 +4,10 @@ A `flowGroup` aggregates a set of *flows* — where each flow is a `(process, no
|
|
|
4
4
|
|
|
5
5
|
## Cumulative and instant flow limits
|
|
6
6
|
|
|
7
|
-
- `max_cumulative_flow` - [MW] Maximum average flow, which limits the cumulative flow for a group of connection_nodes and/or unit_nodes. The average value is multiplied by the model duration to get the cumulative limit (e.g. by 8760 if a single year is modelled). Applied for each solve. Constant or period. A period map must give a value for every period of the solve, look-ahead periods included (a missing period is an error). An explicit 0 is a limit of 0 (the net flow into the group can be negative).
|
|
8
|
-
- `min_cumulative_flow` - [MW] Minimum average flow, which limits the cumulative flow for a group of connection_nodes and/or unit_nodes. The average value is multiplied by the model duration to get the cumulative limit (e.g. by 8760 if a single year is modelled). Applied for each solve. Constant or period. A period map must give a value for every period of the solve, look-ahead periods included (a missing period is an error). An explicit 0 is a limit of 0 (the net flow into the group can be negative).
|
|
9
|
-
- `max_instant_flow` - [MW] Maximum instantenous flow for the aggregated flow of all group members. Constant, period, time or period+time. A period map, or the period level of a period+time map, must give a value for every period of the solve, look-ahead periods included (a missing period is an error). An explicit 0, also at a single time step, is a limit of 0.
|
|
10
|
-
- `min_instant_flow` - [MW] Minimum instantenous flow for the aggregated flow of all group members. Constant, period, time or period+time. A period map, or the period level of a period+time map, must give a value for every period of the solve, look-ahead periods included (a missing period is an error). An explicit 0, also at a single time step, is a limit of 0.
|
|
7
|
+
- `max_cumulative_flow` - [MW] Maximum average flow, which limits the cumulative flow for a group of connection_nodes and/or unit_nodes. The average value is multiplied by the model duration to get the cumulative limit (e.g. by 8760 if a single year is modelled). Applied for each solve. Constant or period. A period map must give a value for every period of the solve, look-ahead periods included (a missing period is an error). An explicit 0 is a limit of 0 (the net flow into the group can be negative). `inf` means no limit in that period (a constant `inf`: in no period); its row is left out. A very large finite number is used as a limit and makes the solve numerically unstable; FlexTool warns about a value of 1e15 or more. `-inf` is an error.
|
|
8
|
+
- `min_cumulative_flow` - [MW] Minimum average flow, which limits the cumulative flow for a group of connection_nodes and/or unit_nodes. The average value is multiplied by the model duration to get the cumulative limit (e.g. by 8760 if a single year is modelled). Applied for each solve. Constant or period. A period map must give a value for every period of the solve, look-ahead periods included (a missing period is an error). An explicit 0 is a limit of 0 (the net flow into the group can be negative). `-inf` means no limit in that period (a constant `-inf`: in no period); its row is left out. A very large finite number is used as a limit and makes the solve numerically unstable; FlexTool warns about a value of 1e15 or more. `inf` is an error.
|
|
9
|
+
- `max_instant_flow` - [MW] Maximum instantenous flow for the aggregated flow of all group members. Constant, period, time or period+time. A period map, or the period level of a period+time map, must give a value for every period of the solve, look-ahead periods included (a missing period is an error). An explicit 0, also at a single time step, is a limit of 0. `inf` means no limit in that period or time step (a constant `inf`: nowhere); its row is left out. A very large finite number is used as a limit and makes the solve numerically unstable; FlexTool warns about a value of 1e15 or more. `-inf` is an error. With a solve's `new_stepduration`, a solve step that combines `inf` time steps with finite ones takes their mean, which is `inf`: the limit is dropped for the whole solve step, and FlexTool warns (naming the entity, the periods and the solve steps). To keep the limit, give `inf` in all or none of the time steps of a solve step, or use a shorter `new_stepduration`.
|
|
10
|
+
- `min_instant_flow` - [MW] Minimum instantenous flow for the aggregated flow of all group members. Constant, period, time or period+time. A period map, or the period level of a period+time map, must give a value for every period of the solve, look-ahead periods included (a missing period is an error). An explicit 0, also at a single time step, is a limit of 0. `-inf` means no limit in that period or time step (a constant `-inf`: nowhere); its row is left out. A very large finite number is used as a limit and makes the solve numerically unstable; FlexTool warns about a value of 1e15 or more. `inf` is an error. With a solve's `new_stepduration`, a solve step that combines `-inf` time steps with finite ones takes their mean, which is `-inf`: the limit is dropped for the whole solve step, and FlexTool warns (naming the entity, the periods and the solve steps). To keep the limit, give `-inf` in all or none of the time steps of a solve step, or use a shorter `new_stepduration`.
|
|
11
11
|
|
|
12
12
|
When authoring `min_instant_flow` / `max_instant_flow` as a Map, set the Map's `index_name` to `period` or `time` so the period-vs-time axis is unambiguous — see [the note on naming the Map index](entities_and_time.md#timesteps-and-periods) above. A map without that name whose keys are none of the solve's periods is read as giving no value for the solve, so a missing period is not caught there.
|
|
13
13
|
|
|
@@ -26,14 +26,10 @@ Some of the outputs are optional. They can be removed to speed up the post-proce
|
|
|
26
26
|
- `output_node_balance_t`: Default: yes. Produces detailed inflows and outflows for all the nodes for all timesteps. Mainly useful to diagnose what is wrong with the model.
|
|
27
27
|
- `output_connection__node__node_flow_t`: Default: yes. The flows between the nodes for each timestep.
|
|
28
28
|
- `output_unit__node_flow_t`: Default, yes. The flows from units to the nodes for each timestep.
|
|
29
|
-
-
|
|
29
|
+
- The ramp envelope of the nodes and of the node groups with `print_dispatch` is always written; see [Ramp envelope](../results.md#ramp-envelope).
|
|
30
30
|
- `output_connection_flow_separate`: Default, no. Produces the connection flows separately for both directions.
|
|
31
31
|
- `output_unit__node_ramp_t`: Default, no. Produces the ramps of individual units for all timesteps.
|
|
32
32
|
|
|
33
|
-
Additionally a model level option to exclude all node, connection and unit level outputs and only leave group and model level results. This will significantly increase the speed of importing data to the result database.
|
|
34
|
-
|
|
35
|
-
- model: `exclude_entity_outputs`: Default, no. Excludes results on node, unit and connection level, but preserves group level results
|
|
36
|
-
|
|
37
33
|
A further debug option writes everything the LP holds over the model horizon to a separate raw dump: the look-ahead of each roll after `rolling_solve_jump` and the forecast branches of stochastic solves. The normal outputs keep only the realized results, with or without it.
|
|
38
34
|
|
|
39
35
|
- model: `output_horizon`: Default, no. Writes one raw parquet per LP variable and constraint, with every row of every solve and a `realized` column, to `output_parquet/<scenario>/horizon/` (see [Results](../results.md)). The normal outputs are unchanged.
|