flextool 4.5.0__tar.gz → 4.5.1__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.5.0/flextool.egg-info → flextool-4.5.1}/PKG-INFO +1 -1
- {flextool-4.5.0 → flextool-4.5.1}/flextool/update_flextool/db_migration.py +150 -22
- {flextool-4.5.0 → flextool-4.5.1/flextool.egg-info}/PKG-INFO +1 -1
- {flextool-4.5.0 → flextool-4.5.1}/pyproject.toml +1 -1
- {flextool-4.5.0 → flextool-4.5.1}/LICENSE.txt +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/MANIFEST.in +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/README.md +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/_flextool_build.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/docs/advanced_concepts.md +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/docs/ai_assistant.md +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/docs/dev/architecture.md +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/docs/dev/engine.md +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/docs/dev/slack_convention.md +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/docs/env_vars.md +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/docs/excel_interface.md +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/docs/flextool_gui_interface.md +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/docs/how_to/basics.md +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/docs/how_to/emissions.md +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/docs/how_to/index.md +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/docs/how_to/investment.md +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/docs/how_to/outputs.md +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/docs/how_to/performance.md +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/docs/how_to/solve_sequences.md +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/docs/how_to/stochastics.md +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/docs/how_to/storage_hydro.md +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/docs/how_to/thermal_chp.md +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/docs/index.md +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/docs/install_gui.md +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/docs/install_toolbox.md +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/docs/interface_overview.md +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/docs/limitations.md +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/docs/reading_results.md +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/docs/reference/commodities.md +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/docs/reference/connections.md +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/docs/reference/entities_and_time.md +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/docs/reference/flow_groups.md +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/docs/reference/groups.md +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/docs/reference/index.md +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/docs/reference/nodes.md +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/docs/reference/parameter_groups.md +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/docs/reference/reserves.md +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/docs/reference/units.md +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/docs/reference/user_constraints.md +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/docs/results.md +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/docs/solvers/copt.md +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/docs/solvers/cplex.md +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/docs/solvers/gurobi.md +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/docs/solvers/highs.md +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/docs/solvers/index.md +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/docs/solvers/xpress.md +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/docs/spine_database.md +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/docs/spine_toolbox.md +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/docs/terminal_workflow.md +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/docs/tutorial.md +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/__init__.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/_allocator.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/_child_python.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/_file_lock.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/_local_solver_settings.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/_mem_sampler.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/_process_tree.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/_resources.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/_safe_text.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/_solver_config_source.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/_solver_option_rules.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/_thread_budget.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/assistant/__init__.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/assistant/_files.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/assistant/backends/__init__.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/assistant/backends/_common.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/assistant/backends/anthropic_messages.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/assistant/backends/openai_chat.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/assistant/budget.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/assistant/caps.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/assistant/chat_cli.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/assistant/cli.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/assistant/context.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/assistant/docs_store.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/assistant/endpoint.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/assistant/env_knobs.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/assistant/errors.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/assistant/inputs/__init__.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/assistant/inputs/_db.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/assistant/inputs/_notes.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/assistant/inputs/_schema.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/assistant/inputs/_units.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/assistant/inputs/_values.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/assistant/keys.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/assistant/llm_adapter.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/assistant/llm_errors.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/assistant/llm_retry.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/assistant/mcp_server.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/assistant/model_check.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/assistant/model_facts.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/assistant/model_list_cache.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/assistant/model_versions.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/assistant/net.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/assistant/pacing.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/assistant/placeholders.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/assistant/probes.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/assistant/project.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/assistant/prompt.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/assistant/providers.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/assistant/redact.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/assistant/registry.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/assistant/results/__init__.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/assistant/results/_catalog.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/assistant/results/_entity.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/assistant/results/_overview.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/assistant/results/_query.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/assistant/results/_runs.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/assistant/results/_slacks.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/assistant/runtime_context.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/assistant/session.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/assistant/settings.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/assistant/store.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/assistant/textsearch.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/assistant/thoughts.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/assistant/tiers.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/assistant/tools/__init__.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/assistant/tools/diagnostics.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/assistant/tools/discovery.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/assistant/tools/explain.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/assistant/tools/inputs.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/assistant/tools/orientation.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/assistant/tools/results.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/assistant/unit_wording.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/assistant/usage.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/calibrate/__init__.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/calibrate/__main__.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/calibrate/_cli.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/calibrate/_db_alt.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/calibrate/_final_outputs.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/calibrate/_guard.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/calibrate/_loop.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/calibrate/_readers.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/calibrate/_report.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/calibrate/_sizing.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/calibrate/_solve.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/calibrate/_solve_status.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/cli/__init__.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/cli/_console.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/cli/_timing.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/cli/cmd_execute_flextool_workflow.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/cli/cmd_export_to_tabular.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/cli/cmd_freeze_database.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/cli/cmd_import_sensitivities.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/cli/cmd_migrate_database.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/cli/cmd_open_results_db.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/cli/cmd_project_package.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/cli/cmd_read_matpower.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/cli/cmd_read_old_flextool.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/cli/cmd_read_self_describing_tabular_input.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/cli/cmd_read_tabular_input.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/cli/cmd_run_flextool.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/cli/cmd_scenario_results.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/cli/cmd_solve_mps.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/cli/cmd_time_runs.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/cli/cmd_trust_workspace.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/cli/cmd_update_flextool.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/cli/cmd_write_outputs.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/common_utils/__init__.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/common_utils/plot_mem_shape.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/decomposition/__init__.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/decomposition/region_decomposition.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/decomposition/region_filter.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/docs_build/__init__.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/docs_build/__main__.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/docs_build/catalogue.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/docs_build/formulation.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/docs_build/index.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/docs_build/parameters.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/docs_build/scope.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/engine/__init__.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/engine/_behaviour_changes.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/engine/_csv_reload/__init__.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/engine/_csv_reload/_field_seeds.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/engine/_csv_reload/_meta.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/engine/_csv_reload/_seed.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/engine/_csv_reload/_stamp.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/engine/_csv_reload/_topology.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/engine/_csv_reload/load.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/engine/_csv_reload/offline_outputs.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/engine/autoscale/__init__.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/engine/autoscale/_config.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/engine/autoscale/_guard.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/engine/autoscale/_layer2.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/engine/autoscale/_layer2_types.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/engine/autoscale/_quantity_types.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/engine/autoscale/_report.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/engine/input/__init__.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/engine/input/_axis_enums.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/engine/input/_constants.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/engine/input/_db_loader.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/engine/input/_db_reader.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/engine/input/_inmemory_reader.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/engine/input/_input_source.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/engine/input/_param_shapes.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/engine/input/_piecewise_curve.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/engine/input/_solve_config.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/engine/input/_solve_state.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/engine/input/_solve_step_aggregation.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/engine/input/_spinedb_reader.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/engine/input/_timeline.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/engine/input/_timeline_rules.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/engine/model/__init__.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/engine/model/_balance_terms.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/engine/model/_coarse_flows.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/engine/model/_commodity_ladder.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/engine/model/_common.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/engine/model/_cumulative_invest.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/engine/model/_dc_power_flow.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/engine/model/_delay.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/engine/model/_exact.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/engine/model/_group_slack.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/engine/model/_lead_time.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/engine/model/_non_anticipativity.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/engine/model/_online.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/engine/model/_pdt_join.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/engine/model/_reserve.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/engine/model/_self_discharge.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/engine/model/_unit_floors.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/engine/model/core.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/engine/output/__init__.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/engine/output/_capacity_margin.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/engine/output/_coarse_flows.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/engine/output/_dump_csvs.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/engine/output/_horizon_dump.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/engine/output/_parquet_bundle.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/engine/output/_prices.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/engine/output/_reserve_report.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/engine/output/_writer.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/engine/preprocess/__init__.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/engine/preprocess/_annuity.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/engine/preprocess/_co2_methods.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/engine/preprocess/_dump_stamp.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/engine/preprocess/_flex_data_provider.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/engine/preprocess/_input_writer.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/engine/preprocess/_invest_seeds.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/engine/preprocess/_provider_io.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/engine/preprocess/_provider_keys.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/engine/preprocess/_provider_translators.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/engine/preprocess/_reduce_detail.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/engine/preprocess/_reserve_methods.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/engine/preprocess/_solve_context.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/engine/preprocess/_stochastic_detect.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/engine/preprocess/emit/__init__.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/engine/preprocess/emit/_arc_unions.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/engine/preprocess/emit/_base_steps.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/engine/preprocess/emit/_blocks.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/engine/preprocess/emit/_calc_params.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/engine/preprocess/emit/_capacity_margin_peak.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/engine/preprocess/emit/_chain_params.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/engine/preprocess/emit/_co2_accumulators.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/engine/preprocess/emit/_dispatchers.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/engine/preprocess/emit/_energy_margin.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/engine/preprocess/emit/_energy_margin_adder.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/engine/preprocess/emit/_entity_annual.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/engine/preprocess/emit/_inflow_scaling.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/engine/preprocess/emit/_inflow_scaling_checks.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/engine/preprocess/emit/_leaf_sets.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/engine/preprocess/emit/_lp_scaling.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/engine/preprocess/emit/_mid_sets.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/engine/preprocess/emit/_pdt_lookup.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/engine/preprocess/emit/_pdt_params.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/engine/preprocess/emit/_per_solve.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/engine/preprocess/emit/_period_calc.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/engine/preprocess/emit/_period_params.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/engine/preprocess/emit/_reserve_sets.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/engine/preprocess/emit/_solve_time.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/engine/preprocess/emit/_solve_writers.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/engine/preprocess/emit/_vectorize.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/engine/preprocess/flex_data.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/engine/preprocess/params/__init__.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/engine/preprocess/params/_arithmetic.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/engine/preprocess/params/_block.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/engine/preprocess/params/_block_layout.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/engine/preprocess/params/_branch.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/engine/preprocess/params/_coarse.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/engine/preprocess/params/_derived.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/engine/preprocess/params/_direct.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/engine/preprocess/params/_existing.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/engine/preprocess/params/_mintime.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/engine/preprocess/params/_npv.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/engine/preprocess/params/_per_solve_sets.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/engine/preprocess/params/_piecewise.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/engine/preprocess/params/_profiles.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/engine/preprocess/params/_projection.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/engine/preprocess/params/_ramp_links.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/engine/preprocess/params/_retire_existing.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/engine/preprocess/params/_run_calendar.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/engine/preprocess/params/_walks.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/engine/solve/__init__.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/engine/solve/_acceptance.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/engine/solve/_benders.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/engine/solve/_carry_routing.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/engine/solve/_determinism.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/engine/solve/_handoff.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/engine/solve/_objective_options.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/engine/solve/_orchestration.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/engine/solve/_realization.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/engine/solve/_realized_overlap.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/engine/solve/_recursive_solve.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/engine/solve/_region_filter.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/engine/solve/_run_model.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/engine/solve/_solver_base.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/engine/solve/_solver_catalogue.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/engine/solve/_solver_dispatch.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/engine/solve/_stochastic.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/engine/solve/_subprocess_solve.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/engine/solve/_warm.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/engine/solve/chain.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/engine/solve/solver_catalogue/copt.json +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/engine/solve/solver_catalogue/cplex.json +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/engine/solve/solver_catalogue/gurobi.json +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/engine/solve/solver_catalogue/highs.json +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/engine/solve/solver_catalogue/xpress.json +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/engine_polars/__init__.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/env_check.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/export_to_tabular/__init__.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/export_to_tabular/db_reader.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/export_to_tabular/excel_writer.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/export_to_tabular/export_settings.yaml +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/export_to_tabular/export_to_excel.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/export_to_tabular/formatting.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/export_to_tabular/sheet_config.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/gui/__init__.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/gui/__main__.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/gui/_menus.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/gui/assistant/__init__.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/gui/assistant/chat_tab.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/gui/assistant/chat_window.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/gui/assistant/entry.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/gui/assistant/fonts.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/gui/assistant/gate.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/gui/assistant/geometry.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/gui/assistant/gui_state.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/gui/assistant/markdown_stream.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/gui/assistant/notices.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/gui/assistant/settings_dialog.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/gui/assistant/strings.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/gui/assistant/transcript.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/gui/assistant/worker.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/gui/calibrate_commands.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/gui/calibrate_jobs.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/gui/check_tree.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/gui/cli_format.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/gui/config_parser.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/gui/data_models.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/gui/db_editor_integration.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/gui/db_version_check.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/gui/dialogs/__init__.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/gui/dialogs/add_dialog.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/gui/dialogs/calibrate_dialog.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/gui/dialogs/file_picker.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/gui/dialogs/group_picker.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/gui/dialogs/local_solver_settings_dialog.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/gui/dialogs/migration_consent_dialog.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/gui/dialogs/migration_progress_dialog.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/gui/dialogs/plot_dialog.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/gui/dialogs/plot_settings_picker.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/gui/dialogs/project_dialog.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/gui/dialogs/project_package_dialog.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/gui/dialogs/update_dialog.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/gui/downsampling.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/gui/error_handling.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/gui/execution_manager.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/gui/execution_window.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/gui/hover_tooltip.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/gui/input_sources.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/gui/main_window.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/gui/network_graph.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/gui/output_actions.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/gui/output_log_window.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/gui/platform_utils.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/gui/plot_cache.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/gui/plot_canvas.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/gui/plot_config_reader.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/gui/project_utils.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/gui/result_viewer.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/gui/scenario_key.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/gui/scenario_lists.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/gui/settings_io.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/gui/solve_reader.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/gui/tree_reorder.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/gui/ui_metrics.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/input_derivation/__init__.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/input_derivation/_commodity_ladder.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/input_derivation/_commodity_ladder_sets.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/input_derivation/_dc_power_flow.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/input_derivation/_method_constants.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/input_derivation/_piecewise.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/input_derivation/_process_method.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/input_derivation/_specs.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/input_derivation/_validators.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/lean_parquet.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/model_builder/__init__.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/model_builder/_special.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/model_builder/build_model.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/model_builder/encoding.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/model_builder/names.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/model_builder/profiles.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/plot_outputs/__init__.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/plot_outputs/axis_helpers.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/plot_outputs/color_template.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/plot_outputs/config.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/plot_outputs/format_helpers.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/plot_outputs/legend_helpers.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/plot_outputs/orchestrator.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/plot_outputs/perf.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/plot_outputs/plan.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/plot_outputs/plot_bars.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/plot_outputs/plot_bars_detail.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/plot_outputs/plot_lines.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/plot_outputs/shared_manifest.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/plot_outputs/subplot_helpers.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/plot_outputs/unit_labels.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/process_inputs/__init__.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/process_inputs/import_old_excel_input.json +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/process_inputs/read_matpower.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/process_inputs/read_old_flextool.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/process_inputs/read_self_describing_excel.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/process_inputs/read_tabular_with_specification.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/process_inputs/write_old_flextool_to_db.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/process_inputs/write_self_describing_to_db.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/process_inputs/write_to_input_db.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/process_outputs/__init__.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/process_outputs/_annualize.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/process_outputs/_csv_sidecars.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/process_outputs/_excel_writer.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/process_outputs/_fan_labels.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/process_outputs/_inmemory_helpers.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/process_outputs/_output_meta.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/process_outputs/_ramp_inputs.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/process_outputs/_sheet_names.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/process_outputs/_timeline_breaks.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/process_outputs/_unit_context.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/process_outputs/calc_capacity_flows.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/process_outputs/calc_connections.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/process_outputs/calc_costs.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/process_outputs/calc_group_flows.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/process_outputs/calc_piecewise.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/process_outputs/calc_ramp_envelope.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/process_outputs/calc_slacks.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/process_outputs/calc_storage_vre.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/process_outputs/drop_levels.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/process_outputs/handoff_writers.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/process_outputs/out_ancillary.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/process_outputs/out_capacity.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/process_outputs/out_costs.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/process_outputs/out_flowgroup.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/process_outputs/out_flows.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/process_outputs/out_group.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/process_outputs/out_node.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/process_outputs/persist_realized_slice.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/process_outputs/process_results.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/process_outputs/read_highs_solution.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/process_outputs/read_parameters.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/process_outputs/read_sets.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/process_outputs/read_variables.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/process_outputs/reduced_cells.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/process_outputs/solve_order.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/process_outputs/spinedb_replay.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/process_outputs/union_realized_slice.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/process_outputs/write_outputs.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/process_outputs/write_spinedb.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/project_package.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/representative_periods/__init__.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/representative_periods/clustering.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/representative_periods/force_include.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/representative_periods/netload.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/representative_periods/netload_inputs.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/representative_periods/netload_iterate.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/representative_periods/preprocess.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/representative_periods/scenario_stack.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/representative_periods/weights.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/run_options.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/run_record/__init__.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/run_record/_owner.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/run_record/_status.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/run_record/_tee.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/safe_names.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/scenario_comparison/__init__.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/scenario_comparison/config_builder.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/scenario_comparison/constants.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/scenario_comparison/data_models.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/scenario_comparison/db_reader.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/scenario_comparison/dispatch_data.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/scenario_comparison/dispatch_mappings.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/scenario_comparison/dispatch_plots.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/scenario_comparison/input_entity_colors.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/scenario_comparison/orchestrator.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/scenario_comparison/plan_union.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/scenario_comparison/plot_settings_seed.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/scenario_comparison/ramp_plots.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/schemas/AXIS_CONTRACT.md +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/schemas/canonical_databases/howto_aggregate_output.json +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/schemas/canonical_databases/howto_connections.json +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/schemas/canonical_databases/howto_demand.json +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/schemas/canonical_databases/howto_hydro_reservoir.json +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/schemas/canonical_databases/howto_hydro_reservoir_with_pump.json +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/schemas/canonical_databases/howto_non_sync_and_curtailment.json +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/schemas/canonical_databases/howto_ramp_and_start_up.json +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/schemas/canonical_databases/howto_stochastics.json +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/schemas/canonical_databases/templates_examples.json +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/schemas/canonical_databases/templates_time_settings_only.json +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/schemas/comparison_settings_template.json +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/schemas/default_plot_settings.yaml +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/schemas/default_plots.yaml +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/schemas/flextool_axis_contract.json +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/schemas/flextool_axis_contract.schema.json +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/schemas/old_flextool_import_template.json +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/schemas/output_info_template.json +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/schemas/output_settings_template.json +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/schemas/pre_v26/flextool_template_constant_default.json +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/schemas/pre_v26/flextool_template_default_optional_output.json +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/schemas/pre_v26/flextool_template_default_value.json +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/schemas/pre_v26/flextool_template_drop_down.json +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/schemas/pre_v26/flextool_template_lifetime_method.json +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/schemas/pre_v26/flextool_template_optional_outputs.json +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/schemas/pre_v26/flextool_template_output_node_flows.json +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/schemas/pre_v26/flextool_template_results_master.json +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/schemas/pre_v26/flextool_template_rolling_start_remove.json +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/schemas/pre_v26/flextool_template_rolling_window.json +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/schemas/pre_v26/flextool_template_storage_binding_defaults.json +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/schemas/pre_v26/flextool_template_v2.json +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/schemas/pre_v26/flextool_template_v25.json +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/schemas/spinedb_results_schema.json +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/schemas/spinedb_schema.json +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/solver_config/copt.opt.template +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/solver_config/cplex.opt.template +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/solver_config/gurobi.opt.template +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/solver_config/highs.opt.template +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/solver_config/xpress.opt.template +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/spinedb_backend/__init__.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/spinedb_backend/_axis_enums.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/spinedb_backend/_backend.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/sqlite_url.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/timeline_pieces.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/units_of_measure.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/update_flextool/__init__.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/update_flextool/bundle_install.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/update_flextool/canonical_databases.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/update_flextool/db_handle.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/update_flextool/ensure_settings_db.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/update_flextool/export_database.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/update_flextool/extend_tests_fixture.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/update_flextool/fixture_schema.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/update_flextool/frozen.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/update_flextool/generate_canonical.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/update_flextool/initialize_database.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/update_flextool/install_info.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/update_flextool/migrate_before_run.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/update_flextool/self_update.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/update_flextool/sync_master_json_template.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/update_flextool/test_fixtures.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool/user_dirs.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool.egg-info/SOURCES.txt +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool.egg-info/dependency_links.txt +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool.egg-info/entry_points.txt +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool.egg-info/requires.txt +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool.egg-info/top_level.txt +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool_assistant_entry.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/flextool_run_supervisor.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/setup.cfg +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/tests/test_bar_layout.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/tests/test_bar_sub_pixel_labels.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/tests/test_blocks.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/tests/test_branch_weights.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/tests/test_child_python_safe_path.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/tests/test_child_run_argv.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/tests/test_ci_shard.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/tests/test_color_template.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/tests/test_commodity_ladder_rolling.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/tests/test_comparison_excel.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/tests/test_comparison_project_root.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/tests/test_comparison_results_registry.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/tests/test_complete_period_share_reduction.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/tests/test_connection_node_warnings.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/tests/test_console_run_tool.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/tests/test_cost_aggregation_semantics.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/tests/test_cost_breakdown_by_entity.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/tests/test_csv_dump_roundtrip.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/tests/test_dc_power_flow.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/tests/test_dependency_caps.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/tests/test_dispatch_consumer_and_connection_signs.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/tests/test_dispatch_multi_period.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/tests/test_dispatch_node_debug_and_tree.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/tests/test_dispatch_order_specials.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/tests/test_dispatch_scenario_tag.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/tests/test_ensure_settings_db.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/tests/test_entity_unitsize_invariant.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/tests/test_entity_universe_carrier.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/tests/test_env_check.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/tests/test_env_knob_registry.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/tests/test_excel_text_cells.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/tests/test_export_to_tabular.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/tests/test_extend_tests_fixture.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/tests/test_flowgroup_indicators.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/tests/test_force_include.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/tests/test_group_output_warnings.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/tests/test_handoff_writers.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/tests/test_input_entity_colors.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/tests/test_lean_parquet.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/tests/test_lh2_three_region.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/tests/test_min_load_rolling.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/tests/test_model_builder_invest.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/tests/test_model_builder_special_functions.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/tests/test_non_anticipativity.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/tests/test_old_flextool_importer_schema_drift.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/tests/test_open_results_db.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/tests/test_output_column_metadata.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/tests/test_output_csv_names.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/tests/test_output_metadata_renderers.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/tests/test_output_work_folder_isolation.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/tests/test_parameter_group_coverage.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/tests/test_period_share_of_year_output.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/tests/test_piecewise_validation.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/tests/test_plan_union.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/tests/test_plot_draw_order.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/tests/test_plot_gaps.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/tests/test_plot_pipeline.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/tests/test_plot_plan_chunk_reconstruction.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/tests/test_plot_plan_time_labels_roundtrip.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/tests/test_plot_settings_seed.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/tests/test_project_package_cli.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/tests/test_ramp_histogram.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/tests/test_read_highs_solution.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/tests/test_recourse_cost_reconciliation.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/tests/test_regional_filter.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/tests/test_representative_periods.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/tests/test_rolling_online_carry.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/tests/test_rolling_online_mintime_carry.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/tests/test_rolling_online_minuptime.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/tests/test_rp_alternative_name.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/tests/test_rp_force_include_wiring.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/tests/test_rp_solves_filter.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/tests/test_run_options.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/tests/test_safe_names.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/tests/test_safe_text.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/tests/test_scenario_colors.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/tests/test_scenario_stack.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/tests/test_scenarios.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/tests/test_self_describing_reader.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/tests/test_shared_axis_manifest.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/tests/test_simple_bar_entity_color.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/tests/test_solve_config.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/tests/test_solve_reader.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/tests/test_sqlite_url.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/tests/test_stream_concat_temp_cleanup.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/tests/test_support_load.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/tests/test_synthesize_invest_dual.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/tests/test_thread_budget.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/tests/test_time_runs.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/tests/test_timeline_breaks.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/tests/test_timings_csv.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/tests/test_toolbox_specs.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/tests/test_unidirectional_connection.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/tests/test_unit_online_dt_columns.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/tests/test_units_of_measure.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/tests/test_units_of_measure_validators.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/tests/test_user_dirs_isolation.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/tests/test_v52_migration.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/tests/test_v63_migration.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/tests/test_v64_migration.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/tests/test_v65_migration.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/tests/test_v66_migration.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/tests/test_v67_migration.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/tests/test_v68_migration.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/tests/test_v69_migration.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/tests/test_v70_migration.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/tests/test_workdir_empty_default.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/tests/test_xlsx_startup_input_round_trip.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/tests/test_xlsx_v77_round_trip.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/tests/test_xlsx_workflow.py +0 -0
- {flextool-4.5.0 → flextool-4.5.1}/tests/test_years_represented.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: flextool
|
|
3
|
-
Version: 4.5.
|
|
3
|
+
Version: 4.5.1
|
|
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
|
|
@@ -424,6 +424,13 @@ def _migrate_open(database_path, mapping_name, up_to, frozen, progress_callback,
|
|
|
424
424
|
)
|
|
425
425
|
parameter_definitions = db.mapped_table("parameter_definition")
|
|
426
426
|
for cls in ("unit", "connection", "node"):
|
|
427
|
+
# Already renamed: a migration that failed at a later step (v35, FlexTool 4.0 to 4.5) left v32
|
|
428
|
+
# applied under the old stamp. Any other shape (neither name) still stops at db.item.
|
|
429
|
+
if (not db.get_item("parameter_definition", entity_class_name=cls,
|
|
430
|
+
name="constraint_capacity_coefficient")
|
|
431
|
+
and db.get_item("parameter_definition", entity_class_name=cls,
|
|
432
|
+
name="constraint_invested_capacity_coefficient")):
|
|
433
|
+
continue
|
|
427
434
|
param = db.item(parameter_definitions,
|
|
428
435
|
entity_class_name=cls,
|
|
429
436
|
name="constraint_capacity_coefficient")
|
|
@@ -518,6 +525,7 @@ def _migrate_open(database_path, mapping_name, up_to, frozen, progress_callback,
|
|
|
518
525
|
param = db.item(parameter_definitions,
|
|
519
526
|
entity_class_name=cls, name="coefficient")
|
|
520
527
|
if param:
|
|
528
|
+
_v35_drop_v23_flow_coefficient(db, cls)
|
|
521
529
|
db.update_parameter_definition(
|
|
522
530
|
id=param["id"],
|
|
523
531
|
name="flow_coefficient",
|
|
@@ -527,12 +535,14 @@ def _migrate_open(database_path, mapping_name, up_to, frozen, progress_callback,
|
|
|
527
535
|
name="max_capacity_coefficient",
|
|
528
536
|
default_value=default_one_val,
|
|
529
537
|
default_type=default_one_type,
|
|
538
|
+
parameter_type_list=("float",),
|
|
530
539
|
description=maxcap_desc)
|
|
531
540
|
db.add_update_item("parameter_definition",
|
|
532
541
|
entity_class_name=cls,
|
|
533
542
|
name="min_capacity_coefficient",
|
|
534
543
|
default_value=default_one_val,
|
|
535
544
|
default_type=default_one_type,
|
|
545
|
+
parameter_type_list=("float",),
|
|
536
546
|
description=mincap_desc)
|
|
537
547
|
_commit_step(db,
|
|
538
548
|
"Renamed coefficient -> flow_coefficient; added "
|
|
@@ -1964,6 +1974,33 @@ def _rename_or_drop_parameter_definition(db, entity_class_name, old_name, new_na
|
|
|
1964
1974
|
db.update_parameter_definition(**kwargs)
|
|
1965
1975
|
|
|
1966
1976
|
|
|
1977
|
+
def _detach_list_defaults(db, list_name: str, renames: dict[str, str]) -> list[tuple[object, str]]:
|
|
1978
|
+
"""Clear each default of a definition on value list *list_name* that names an old member of *renames*.
|
|
1979
|
+
|
|
1980
|
+
A default refers to its list member. After an in-place member rename the open mapping still holds the old name
|
|
1981
|
+
for the definition, so every later update of it in the same migration run fails ("default value ... is not in
|
|
1982
|
+
the list"); after a member removal the reference dangles and later reads as whichever member takes the freed id.
|
|
1983
|
+
So a step that renames or removes members calls this before, and :func:`_attach_list_defaults` with the result
|
|
1984
|
+
after. Returns ``(definition id, new name)`` pairs.
|
|
1985
|
+
"""
|
|
1986
|
+
pending = []
|
|
1987
|
+
for pdef in db.get_items("parameter_definition"):
|
|
1988
|
+
if pdef["parameter_value_list_name"] != list_name:
|
|
1989
|
+
continue
|
|
1990
|
+
default = from_database(pdef["default_value"], pdef["default_type"])
|
|
1991
|
+
if isinstance(default, str) and default in renames and renames[default] != default:
|
|
1992
|
+
db.update_parameter_definition(id=pdef["id"], default_value=None, default_type=None)
|
|
1993
|
+
pending.append((pdef["id"], renames[default]))
|
|
1994
|
+
return pending
|
|
1995
|
+
|
|
1996
|
+
|
|
1997
|
+
def _attach_list_defaults(db, pending: list[tuple[object, str]]) -> None:
|
|
1998
|
+
"""Set the defaults cleared by :func:`_detach_list_defaults` to their new member names."""
|
|
1999
|
+
for pdef_id, new in pending:
|
|
2000
|
+
val, typ = to_database(new)
|
|
2001
|
+
db.update_parameter_definition(id=pdef_id, default_value=val, default_type=typ)
|
|
2002
|
+
|
|
2003
|
+
|
|
1967
2004
|
def add_version(db):
|
|
1968
2005
|
# this function adds the version information to the database if there is none
|
|
1969
2006
|
|
|
@@ -2089,8 +2126,30 @@ def change_optional_output_type(db, filepath):
|
|
|
2089
2126
|
print("This change has been done before, continuing")
|
|
2090
2127
|
return 0
|
|
2091
2128
|
|
|
2129
|
+
def _v25_already_applied(db) -> bool:
|
|
2130
|
+
"""Whether the database already has the v25 time structure although its stamp is older.
|
|
2131
|
+
|
|
2132
|
+
Each step commits on its own and ``model.version`` is written only at the end, so a migration that failed at a
|
|
2133
|
+
later step (v35, in FlexTool 4.0 to 4.5) left v25 applied under the old stamp. Applied means: no ``timeblockSet``
|
|
2134
|
+
class, a ``timeset`` class with ``timeline`` and ``timeset_duration`` and ``solve.period_timeset``. A database
|
|
2135
|
+
without ``timeblockSet`` that is not in that state stops with a message.
|
|
2136
|
+
"""
|
|
2137
|
+
if db.get_item("entity_class", name="timeblockSet"):
|
|
2138
|
+
return False
|
|
2139
|
+
applied = (db.get_item("entity_class", name="timeset")
|
|
2140
|
+
and not db.get_item("entity_class", name="timeblockSet__timeline")
|
|
2141
|
+
and db.get_item("parameter_definition", entity_class_name="timeset", name="timeline")
|
|
2142
|
+
and db.get_item("parameter_definition", entity_class_name="timeset", name="timeset_duration")
|
|
2143
|
+
and db.get_item("parameter_definition", entity_class_name="solve", name="period_timeset"))
|
|
2144
|
+
if not applied:
|
|
2145
|
+
raise SpineDBAPIError("v25: the database has no timeblockSet class and not the v25 time structure (a timeset "
|
|
2146
|
+
"class with timeline and timeset_duration, solve.period_timeset); cannot migrate it.")
|
|
2147
|
+
return True
|
|
2148
|
+
|
|
2149
|
+
|
|
2092
2150
|
def update_timestructure(db):
|
|
2093
|
-
|
|
2151
|
+
if _v25_already_applied(db):
|
|
2152
|
+
return
|
|
2094
2153
|
timeblocks__timelines = db.find_entities(entity_class_name="timeblockSet__timeline")
|
|
2095
2154
|
block_durations = db.find_parameter_values(entity_class_name="timeblockSet", parameter_definition_name="block_duration")
|
|
2096
2155
|
timeblock_entity_class_item = db.item(db.mapped_table("entity_class"), name="timeblockSet")
|
|
@@ -2139,15 +2198,61 @@ def update_timestructure(db):
|
|
|
2139
2198
|
db.update_parameter_definition(id = param["id"], description = "Hours. Creates a new `timeline` from the old for this `timeset` with this timestep duration. The new timeline will sum or average the other timeseries data like `profile` and `inflow` for the new timesteps.")
|
|
2140
2199
|
param = db.item(parameter_definitions, entity_class_name= "node", name = "storage_binding_method")
|
|
2141
2200
|
db.update_parameter_definition(id = param["id"], description = "Choice how the storage state will be maintained over discontinuos timelines. The default value 'bind_forward_only' will bind forward over any holes in the used timeline, but will not bind end to the start. Meanwhile 'bind_between_timesets' will bind the storage end state at the end of the timeset to the beginning of the timeset. 'bind_within_period', 'bind_within_solve' and bind_within_model' will act similarly but over increasingly longer time span. Separate parameters (e.g. 'storage_state_start') can force bindings. By default, storage start state is bound to 0.")
|
|
2142
|
-
|
|
2201
|
+
pending = _detach_list_defaults(db, "storage_binding_methods", {"bind_within_timeblock": "bind_within_timeset"})
|
|
2202
|
+
p_value, p_type = to_database("bind_within_timeblock")
|
|
2143
2203
|
param_list_value = db.item(db.mapped_table("list_value"), parameter_value_list_name = "storage_binding_methods", value = p_value, type = p_type)
|
|
2144
|
-
p_value, p_type = to_database("bind_within_timeset")
|
|
2204
|
+
p_value, p_type = to_database("bind_within_timeset")
|
|
2145
2205
|
db.update_list_value(id = param_list_value["id"], value = p_value, type = p_type)
|
|
2206
|
+
_attach_list_defaults(db, pending)
|
|
2207
|
+
|
|
2208
|
+
def _v35_drop_v23_flow_coefficient(db, cls: str) -> None:
|
|
2209
|
+
"""Remove the ``flow_coefficient`` definition that the v23 step of FlexTool 4.5.0 and older created on *cls*.
|
|
2210
|
+
|
|
2211
|
+
That step typed every name of its list and so created ``flow_coefficient`` (type ``float``, no description, no
|
|
2212
|
+
default, no values) beside ``coefficient``; v35 renames ``coefficient`` to ``flow_coefficient`` and collided with
|
|
2213
|
+
it. The empty definition is removed so the rename keeps the ``coefficient`` values. A ``flow_coefficient`` that
|
|
2214
|
+
holds values (or a default) is not that definition: the step stops with a message instead of choosing between them.
|
|
2215
|
+
"""
|
|
2216
|
+
stray = db.get_item("parameter_definition", entity_class_name=cls, name="flow_coefficient")
|
|
2217
|
+
if not stray:
|
|
2218
|
+
return
|
|
2219
|
+
values = db.find_parameter_values(entity_class_name=cls, parameter_definition_name="flow_coefficient")
|
|
2220
|
+
if values or from_database(stray["default_value"], stray["default_type"]) is not None:
|
|
2221
|
+
raise SpineDBAPIError(
|
|
2222
|
+
f"v35: {cls} has both coefficient and flow_coefficient, and flow_coefficient has values or a default; "
|
|
2223
|
+
f"coefficient is renamed to flow_coefficient in this version. Move the values you want to keep to "
|
|
2224
|
+
f"coefficient and remove the flow_coefficient definition, then migrate again.")
|
|
2225
|
+
db.remove_parameter_definition(id=stray["id"])
|
|
2226
|
+
|
|
2227
|
+
|
|
2228
|
+
#: v23 does not create one of these v22 definitions when it is absent and its successor (the name v25 or v32 gives
|
|
2229
|
+
#: it, or for the removed ``timeline_duration_in_years`` the v25 ``timeset.timeline``) exists: then a migration that
|
|
2230
|
+
#: failed at a later step left v23..v34 applied under the old stamp, and recreating it would bring the old name back
|
|
2231
|
+
#: beside the new one. Without the successor, an absent definition is created as v23 always did.
|
|
2232
|
+
_V23_SUCCESSORS = {
|
|
2233
|
+
("solve", "period_timeblockSet"): ("solve", "period_timeset"),
|
|
2234
|
+
("timeblockSet", "block_duration"): ("timeset", "timeset_duration"),
|
|
2235
|
+
("timeblockSet", "new_stepduration"): ("timeset", "new_stepduration"),
|
|
2236
|
+
("timeline", "timeline_duration_in_years"): ("timeset", "timeline"),
|
|
2237
|
+
} | {(cls, "constraint_capacity_coefficient"): (cls, "constraint_invested_capacity_coefficient")
|
|
2238
|
+
for cls in ("unit", "connection", "node")}
|
|
2239
|
+
|
|
2146
2240
|
|
|
2147
2241
|
def update_parameter_types_v23(db):
|
|
2148
|
-
|
|
2149
|
-
|
|
2150
|
-
|
|
2242
|
+
"""Set the value types of the parameter definitions (v23).
|
|
2243
|
+
|
|
2244
|
+
An entry is created when the database lacks it (as v23 always did), except one whose successor exists
|
|
2245
|
+
(:data:`_V23_SUCCESSORS`). The ``unit__inputNode`` / ``unit__outputNode`` flow coefficient is ``coefficient`` here: v35 renames it to
|
|
2246
|
+
``flow_coefficient`` and adds ``max_capacity_coefficient`` / ``min_capacity_coefficient`` (typed there). Typing
|
|
2247
|
+
those v35 names here created ``flow_coefficient`` beside ``coefficient``, and the v35 rename collided with it.
|
|
2248
|
+
"""
|
|
2249
|
+
for cls, name, types in get_parameter_type_list_v23():
|
|
2250
|
+
successor = _V23_SUCCESSORS.get((cls, name))
|
|
2251
|
+
if (successor is not None
|
|
2252
|
+
and not db.get_item("parameter_definition", entity_class_name=cls, name=name)
|
|
2253
|
+
and db.get_item("parameter_definition", entity_class_name=successor[0], name=successor[1])):
|
|
2254
|
+
continue
|
|
2255
|
+
db.add_update_item("parameter_definition", entity_class_name=cls, name=name, parameter_type_list=types)
|
|
2151
2256
|
|
|
2152
2257
|
def get_parameter_type_list_v23():
|
|
2153
2258
|
types = [["commodity", "co2_content", ("float",)],
|
|
@@ -2321,9 +2426,7 @@ def get_parameter_type_list_v23():
|
|
|
2321
2426
|
["connection__node", "constraint_flow_coefficient", ("1d_map",)],
|
|
2322
2427
|
["connection__profile", "profile_method", ("str",)],
|
|
2323
2428
|
["node__profile", "profile_method", ("str",)],
|
|
2324
|
-
["unit__inputNode", "
|
|
2325
|
-
["unit__inputNode", "max_capacity_coefficient", ("float",)],
|
|
2326
|
-
["unit__inputNode", "min_capacity_coefficient", ("float",)],
|
|
2429
|
+
["unit__inputNode", "coefficient", ("float",)],
|
|
2327
2430
|
["unit__inputNode", "constraint_flow_coefficient", ("1d_map",)],
|
|
2328
2431
|
["unit__inputNode", "inertia_constant", ("float",)],
|
|
2329
2432
|
["unit__inputNode", "is_non_synchronous", ("str",)],
|
|
@@ -2332,9 +2435,7 @@ def get_parameter_type_list_v23():
|
|
|
2332
2435
|
["unit__inputNode", "ramp_method", ("str",)],
|
|
2333
2436
|
["unit__inputNode", "ramp_speed_down", ("float",)],
|
|
2334
2437
|
["unit__inputNode", "ramp_speed_up", ("float",)],
|
|
2335
|
-
["unit__outputNode", "
|
|
2336
|
-
["unit__outputNode", "max_capacity_coefficient", ("float",)],
|
|
2337
|
-
["unit__outputNode", "min_capacity_coefficient", ("float",)],
|
|
2438
|
+
["unit__outputNode", "coefficient", ("float",)],
|
|
2338
2439
|
["unit__outputNode", "constraint_flow_coefficient", ("1d_map",)],
|
|
2339
2440
|
["unit__outputNode", "inertia_constant", ("float",)],
|
|
2340
2441
|
["unit__outputNode", "is_non_synchronous", ("str",)],
|
|
@@ -3286,6 +3387,7 @@ def _migrate_v62_benders_rename(db) -> None:
|
|
|
3286
3387
|
value=new_val_bytes,
|
|
3287
3388
|
type=new_val_type,
|
|
3288
3389
|
)
|
|
3390
|
+
pending = _detach_list_defaults(db, "decomposition_schemes", {"lagrangian": "benders"})
|
|
3289
3391
|
for lv in db.find_list_values(
|
|
3290
3392
|
parameter_value_list_name="decomposition_schemes",
|
|
3291
3393
|
):
|
|
@@ -3295,6 +3397,7 @@ def _migrate_v62_benders_rename(db) -> None:
|
|
|
3295
3397
|
value=new_val_bytes, type=new_val_type,
|
|
3296
3398
|
)
|
|
3297
3399
|
break
|
|
3400
|
+
_attach_list_defaults(db, pending)
|
|
3298
3401
|
|
|
3299
3402
|
# --- 2. Rename group method 'lagrangian_region' -> 'benders_regional' -
|
|
3300
3403
|
old_meth_bytes, _ = to_database("lagrangian_region")
|
|
@@ -3313,6 +3416,7 @@ def _migrate_v62_benders_rename(db) -> None:
|
|
|
3313
3416
|
value=new_meth_bytes,
|
|
3314
3417
|
type=new_meth_type,
|
|
3315
3418
|
)
|
|
3419
|
+
pending = _detach_list_defaults(db, "decomposition_methods", {"lagrangian_region": "benders_regional"})
|
|
3316
3420
|
for lv in db.find_list_values(
|
|
3317
3421
|
parameter_value_list_name="decomposition_methods",
|
|
3318
3422
|
):
|
|
@@ -3322,6 +3426,7 @@ def _migrate_v62_benders_rename(db) -> None:
|
|
|
3322
3426
|
value=new_meth_bytes, type=new_meth_type,
|
|
3323
3427
|
)
|
|
3324
3428
|
break
|
|
3429
|
+
_attach_list_defaults(db, pending)
|
|
3325
3430
|
|
|
3326
3431
|
try:
|
|
3327
3432
|
_commit_step(db,
|
|
@@ -5133,9 +5238,11 @@ def _v77_drop_stale_definitions(db) -> None:
|
|
|
5133
5238
|
val, typ = to_database("single_solve")
|
|
5134
5239
|
for pv in shots:
|
|
5135
5240
|
db.update_parameter_value(id=pv["id"], value=val, type=typ)
|
|
5241
|
+
pending = _detach_list_defaults(db, "solve_mode", {"single_shot": "single_solve"})
|
|
5136
5242
|
for lv in db.get_items("list_value", parameter_value_list_name="solve_mode"):
|
|
5137
5243
|
if lv["parsed_value"] == "single_shot":
|
|
5138
5244
|
db.remove_items("list_value", lv["id"])
|
|
5245
|
+
_attach_list_defaults(db, pending)
|
|
5139
5246
|
|
|
5140
5247
|
|
|
5141
5248
|
_V77_STORAGE_START_END_DESCRIPTION = (
|
|
@@ -7822,6 +7929,7 @@ def _migrate_v55_storage_binding_rename_and_extend(db) -> None:
|
|
|
7822
7929
|
# bytes (same pattern as the v52 ``glpsol`` drop a few hundred
|
|
7823
7930
|
# lines above).
|
|
7824
7931
|
dropped_lvs: list[str] = []
|
|
7932
|
+
pending = _detach_list_defaults(db, "storage_binding_methods", _STORAGE_BINDING_RENAMES_V55)
|
|
7825
7933
|
for legacy_name in _STORAGE_BINDING_DROPPED_V55:
|
|
7826
7934
|
legacy_bytes, _ = to_database(legacy_name)
|
|
7827
7935
|
for lv in list(db.find_list_values(
|
|
@@ -7831,6 +7939,7 @@ def _migrate_v55_storage_binding_rename_and_extend(db) -> None:
|
|
|
7831
7939
|
db.remove_item("list_value", lv["id"])
|
|
7832
7940
|
dropped_lvs.append(legacy_name)
|
|
7833
7941
|
break
|
|
7942
|
+
_attach_list_defaults(db, pending)
|
|
7834
7943
|
|
|
7835
7944
|
# ---- Step (d): refresh parameter_definition description ---------
|
|
7836
7945
|
# Mirror the Phase F rewrite of the schema-template description so
|
|
@@ -9675,6 +9784,7 @@ def _migrate_v56_drop_storage_nested_fix_method_no(db) -> None:
|
|
|
9675
9784
|
|
|
9676
9785
|
no_bytes, _ = to_database("no")
|
|
9677
9786
|
dropped = False
|
|
9787
|
+
pending = _detach_list_defaults(db, "storage_nested_fix_method", {"no": "fix_nothing"})
|
|
9678
9788
|
for lv in list(db.find_list_values(
|
|
9679
9789
|
parameter_value_list_name="storage_nested_fix_method",
|
|
9680
9790
|
)):
|
|
@@ -9682,6 +9792,7 @@ def _migrate_v56_drop_storage_nested_fix_method_no(db) -> None:
|
|
|
9682
9792
|
db.remove_item("list_value", lv["id"])
|
|
9683
9793
|
dropped = True
|
|
9684
9794
|
break
|
|
9795
|
+
_attach_list_defaults(db, pending)
|
|
9685
9796
|
|
|
9686
9797
|
_commit_step(
|
|
9687
9798
|
db,
|
|
@@ -9756,6 +9867,7 @@ def _migrate_v56_rename_co2_methods_no_method_to_none(db) -> None:
|
|
|
9756
9867
|
# ---- Step 3: drop the legacy ``no_method`` list_value ----------------
|
|
9757
9868
|
no_method_bytes, _ = to_database("no_method")
|
|
9758
9869
|
dropped = False
|
|
9870
|
+
pending = _detach_list_defaults(db, "co2_methods", {"no_method": "none"})
|
|
9759
9871
|
for lv in list(db.find_list_values(
|
|
9760
9872
|
parameter_value_list_name="co2_methods",
|
|
9761
9873
|
)):
|
|
@@ -9763,6 +9875,7 @@ def _migrate_v56_rename_co2_methods_no_method_to_none(db) -> None:
|
|
|
9763
9875
|
db.remove_item("list_value", lv["id"])
|
|
9764
9876
|
dropped = True
|
|
9765
9877
|
break
|
|
9878
|
+
_attach_list_defaults(db, pending)
|
|
9766
9879
|
|
|
9767
9880
|
# ---- Step 4: flip the parameter_definition default to ``none`` -------
|
|
9768
9881
|
db.add_update_item(
|
|
@@ -10569,20 +10682,35 @@ def _v80_capacity_margin_rename(db) -> None:
|
|
|
10569
10682
|
``share_of_peak`` -> ``relative_of_peak_demand`` (part of v80).
|
|
10570
10683
|
|
|
10571
10684
|
A definition rename keeps its values (they hang on the definition). Each list member is renamed in place (its
|
|
10572
|
-
index, so the list order, is kept)
|
|
10573
|
-
|
|
10574
|
-
|
|
10575
|
-
|
|
10685
|
+
index, so the list order, is kept); when the new name is already a member, the old member is removed instead of
|
|
10686
|
+
renamed (never a duplicate). Every stored ``capacity_margin_method`` value (all alternatives), and a default,
|
|
10687
|
+
then reads the new name, so each is a member of the list again; each renamed stored value is printed. The values
|
|
10688
|
+
change only by name. Idempotent: a rerun finds the new names.
|
|
10689
|
+
|
|
10690
|
+
A stored value and a default refer to their list member. The open mapping keeps reading the old name for them
|
|
10691
|
+
after the in-place rename, so each value is written again with the new name. A default that still refers to the
|
|
10692
|
+
old member makes every later update of its definition fail ("not in the list"), so it is cleared before the
|
|
10693
|
+
members change and set to the new name after (:func:`_detach_list_defaults`).
|
|
10576
10694
|
"""
|
|
10577
10695
|
if not db.get_item("entity_class", name="group"):
|
|
10578
10696
|
return
|
|
10579
10697
|
for old, new in V80_CAPACITY_MARGIN_RENAMES.items():
|
|
10580
10698
|
_rename_or_drop_parameter_definition(db, "group", old, new)
|
|
10699
|
+
renames = {old: new for old, new in V80_CAPACITY_MARGIN_METHODS.items() if old != new}
|
|
10700
|
+
values = db.find_parameter_values(entity_class_name="group", parameter_definition_name="capacity_margin_method")
|
|
10701
|
+
renamed = []
|
|
10702
|
+
for pv in values:
|
|
10703
|
+
parsed = from_database(pv["value"], pv["type"])
|
|
10704
|
+
if isinstance(parsed, str) and parsed in renames:
|
|
10705
|
+
renamed.append(f"group {'/'.join(pv['entity_byname'])} [{pv['alternative_name']}]: {parsed} -> "
|
|
10706
|
+
f"{renames[parsed]}")
|
|
10707
|
+
pending = []
|
|
10581
10708
|
if db.get_item("parameter_value_list", name="capacity_margin_methods"):
|
|
10709
|
+
pending = _detach_list_defaults(db, "capacity_margin_methods", renames)
|
|
10582
10710
|
items = db.get_items("list_value", parameter_value_list_name="capacity_margin_methods")
|
|
10583
10711
|
members = {x["parsed_value"] for x in items}
|
|
10584
10712
|
for item in sorted(items, key=lambda x: x["index"]):
|
|
10585
|
-
new =
|
|
10713
|
+
new = renames.get(item["parsed_value"], item["parsed_value"])
|
|
10586
10714
|
if new == item["parsed_value"]:
|
|
10587
10715
|
continue
|
|
10588
10716
|
if new in members:
|
|
@@ -10594,14 +10722,14 @@ def _v80_capacity_margin_rename(db) -> None:
|
|
|
10594
10722
|
val, typ = to_database(new)
|
|
10595
10723
|
db.update_list_value(id=item["id"], value=val, type=typ)
|
|
10596
10724
|
members.add(new)
|
|
10597
|
-
|
|
10725
|
+
# A value still reads the old name (the mapping keeps it after the in-place rename, as does a value of a removed
|
|
10726
|
+
# old member): write the new name.
|
|
10598
10727
|
for pv in db.find_parameter_values(entity_class_name="group", parameter_definition_name="capacity_margin_method"):
|
|
10599
10728
|
parsed = from_database(pv["value"], pv["type"])
|
|
10600
|
-
|
|
10601
|
-
|
|
10602
|
-
val, typ = to_database(new)
|
|
10729
|
+
if isinstance(parsed, str) and parsed in renames:
|
|
10730
|
+
val, typ = to_database(renames[parsed])
|
|
10603
10731
|
db.update_parameter_value(id=pv["id"], value=val, type=typ)
|
|
10604
|
-
|
|
10732
|
+
_attach_list_defaults(db, pending)
|
|
10605
10733
|
if renamed:
|
|
10606
10734
|
print("v80: capacity_margin_method values renamed (capacity_margin is now capacity_margin_absolute, "
|
|
10607
10735
|
"capacity_margin_share capacity_margin_relative): " + ", ".join(renamed))
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: flextool
|
|
3
|
-
Version: 4.5.
|
|
3
|
+
Version: 4.5.1
|
|
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
|
|
@@ -3,7 +3,7 @@ build-backend = "setuptools.build_meta"
|
|
|
3
3
|
|
|
4
4
|
[project]
|
|
5
5
|
name = "flextool"
|
|
6
|
-
version = "4.5.
|
|
6
|
+
version = "4.5.1"
|
|
7
7
|
description = "IRENA FlexTool is an energy and power systems model for understanding the role of variable power generation in future energy systems."
|
|
8
8
|
readme = "README.md"
|
|
9
9
|
license = { file = "LICENSE.txt" }
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|