flextool 4.5.1__tar.gz → 4.5.2__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.
Files changed (677) hide show
  1. {flextool-4.5.1/flextool.egg-info → flextool-4.5.2}/PKG-INFO +1 -1
  2. {flextool-4.5.1 → flextool-4.5.2}/docs/dev/architecture.md +1 -0
  3. {flextool-4.5.1 → flextool-4.5.2}/docs/flextool_gui_interface.md +1 -1
  4. {flextool-4.5.1 → flextool-4.5.2}/docs/install_toolbox.md +1 -1
  5. {flextool-4.5.1 → flextool-4.5.2}/docs/terminal_workflow.md +2 -0
  6. {flextool-4.5.1 → flextool-4.5.2}/flextool/cli/cmd_migrate_database.py +6 -0
  7. {flextool-4.5.1 → flextool-4.5.2}/flextool/cli/cmd_run_flextool.py +6 -1
  8. {flextool-4.5.1 → flextool-4.5.2}/flextool/cli/cmd_update_flextool.py +4 -2
  9. {flextool-4.5.1 → flextool-4.5.2}/flextool/gui/db_version_check.py +47 -49
  10. {flextool-4.5.1 → flextool-4.5.2}/flextool/update_flextool/db_migration.py +208 -62
  11. {flextool-4.5.1 → flextool-4.5.2}/flextool/update_flextool/frozen.py +3 -1
  12. {flextool-4.5.1 → flextool-4.5.2}/flextool/update_flextool/migrate_before_run.py +5 -1
  13. flextool-4.5.2/flextool/update_flextool/migration_backup.py +184 -0
  14. {flextool-4.5.1 → flextool-4.5.2}/flextool/update_flextool/self_update.py +45 -16
  15. {flextool-4.5.1 → flextool-4.5.2/flextool.egg-info}/PKG-INFO +1 -1
  16. {flextool-4.5.1 → flextool-4.5.2}/flextool.egg-info/SOURCES.txt +1 -0
  17. {flextool-4.5.1 → flextool-4.5.2}/pyproject.toml +1 -1
  18. {flextool-4.5.1 → flextool-4.5.2}/LICENSE.txt +0 -0
  19. {flextool-4.5.1 → flextool-4.5.2}/MANIFEST.in +0 -0
  20. {flextool-4.5.1 → flextool-4.5.2}/README.md +0 -0
  21. {flextool-4.5.1 → flextool-4.5.2}/_flextool_build.py +0 -0
  22. {flextool-4.5.1 → flextool-4.5.2}/docs/advanced_concepts.md +0 -0
  23. {flextool-4.5.1 → flextool-4.5.2}/docs/ai_assistant.md +0 -0
  24. {flextool-4.5.1 → flextool-4.5.2}/docs/dev/engine.md +0 -0
  25. {flextool-4.5.1 → flextool-4.5.2}/docs/dev/slack_convention.md +0 -0
  26. {flextool-4.5.1 → flextool-4.5.2}/docs/env_vars.md +0 -0
  27. {flextool-4.5.1 → flextool-4.5.2}/docs/excel_interface.md +0 -0
  28. {flextool-4.5.1 → flextool-4.5.2}/docs/how_to/basics.md +0 -0
  29. {flextool-4.5.1 → flextool-4.5.2}/docs/how_to/emissions.md +0 -0
  30. {flextool-4.5.1 → flextool-4.5.2}/docs/how_to/index.md +0 -0
  31. {flextool-4.5.1 → flextool-4.5.2}/docs/how_to/investment.md +0 -0
  32. {flextool-4.5.1 → flextool-4.5.2}/docs/how_to/outputs.md +0 -0
  33. {flextool-4.5.1 → flextool-4.5.2}/docs/how_to/performance.md +0 -0
  34. {flextool-4.5.1 → flextool-4.5.2}/docs/how_to/solve_sequences.md +0 -0
  35. {flextool-4.5.1 → flextool-4.5.2}/docs/how_to/stochastics.md +0 -0
  36. {flextool-4.5.1 → flextool-4.5.2}/docs/how_to/storage_hydro.md +0 -0
  37. {flextool-4.5.1 → flextool-4.5.2}/docs/how_to/thermal_chp.md +0 -0
  38. {flextool-4.5.1 → flextool-4.5.2}/docs/index.md +0 -0
  39. {flextool-4.5.1 → flextool-4.5.2}/docs/install_gui.md +0 -0
  40. {flextool-4.5.1 → flextool-4.5.2}/docs/interface_overview.md +0 -0
  41. {flextool-4.5.1 → flextool-4.5.2}/docs/limitations.md +0 -0
  42. {flextool-4.5.1 → flextool-4.5.2}/docs/reading_results.md +0 -0
  43. {flextool-4.5.1 → flextool-4.5.2}/docs/reference/commodities.md +0 -0
  44. {flextool-4.5.1 → flextool-4.5.2}/docs/reference/connections.md +0 -0
  45. {flextool-4.5.1 → flextool-4.5.2}/docs/reference/entities_and_time.md +0 -0
  46. {flextool-4.5.1 → flextool-4.5.2}/docs/reference/flow_groups.md +0 -0
  47. {flextool-4.5.1 → flextool-4.5.2}/docs/reference/groups.md +0 -0
  48. {flextool-4.5.1 → flextool-4.5.2}/docs/reference/index.md +0 -0
  49. {flextool-4.5.1 → flextool-4.5.2}/docs/reference/nodes.md +0 -0
  50. {flextool-4.5.1 → flextool-4.5.2}/docs/reference/parameter_groups.md +0 -0
  51. {flextool-4.5.1 → flextool-4.5.2}/docs/reference/reserves.md +0 -0
  52. {flextool-4.5.1 → flextool-4.5.2}/docs/reference/units.md +0 -0
  53. {flextool-4.5.1 → flextool-4.5.2}/docs/reference/user_constraints.md +0 -0
  54. {flextool-4.5.1 → flextool-4.5.2}/docs/results.md +0 -0
  55. {flextool-4.5.1 → flextool-4.5.2}/docs/solvers/copt.md +0 -0
  56. {flextool-4.5.1 → flextool-4.5.2}/docs/solvers/cplex.md +0 -0
  57. {flextool-4.5.1 → flextool-4.5.2}/docs/solvers/gurobi.md +0 -0
  58. {flextool-4.5.1 → flextool-4.5.2}/docs/solvers/highs.md +0 -0
  59. {flextool-4.5.1 → flextool-4.5.2}/docs/solvers/index.md +0 -0
  60. {flextool-4.5.1 → flextool-4.5.2}/docs/solvers/xpress.md +0 -0
  61. {flextool-4.5.1 → flextool-4.5.2}/docs/spine_database.md +0 -0
  62. {flextool-4.5.1 → flextool-4.5.2}/docs/spine_toolbox.md +0 -0
  63. {flextool-4.5.1 → flextool-4.5.2}/docs/tutorial.md +0 -0
  64. {flextool-4.5.1 → flextool-4.5.2}/flextool/__init__.py +0 -0
  65. {flextool-4.5.1 → flextool-4.5.2}/flextool/_allocator.py +0 -0
  66. {flextool-4.5.1 → flextool-4.5.2}/flextool/_child_python.py +0 -0
  67. {flextool-4.5.1 → flextool-4.5.2}/flextool/_file_lock.py +0 -0
  68. {flextool-4.5.1 → flextool-4.5.2}/flextool/_local_solver_settings.py +0 -0
  69. {flextool-4.5.1 → flextool-4.5.2}/flextool/_mem_sampler.py +0 -0
  70. {flextool-4.5.1 → flextool-4.5.2}/flextool/_process_tree.py +0 -0
  71. {flextool-4.5.1 → flextool-4.5.2}/flextool/_resources.py +0 -0
  72. {flextool-4.5.1 → flextool-4.5.2}/flextool/_safe_text.py +0 -0
  73. {flextool-4.5.1 → flextool-4.5.2}/flextool/_solver_config_source.py +0 -0
  74. {flextool-4.5.1 → flextool-4.5.2}/flextool/_solver_option_rules.py +0 -0
  75. {flextool-4.5.1 → flextool-4.5.2}/flextool/_thread_budget.py +0 -0
  76. {flextool-4.5.1 → flextool-4.5.2}/flextool/assistant/__init__.py +0 -0
  77. {flextool-4.5.1 → flextool-4.5.2}/flextool/assistant/_files.py +0 -0
  78. {flextool-4.5.1 → flextool-4.5.2}/flextool/assistant/backends/__init__.py +0 -0
  79. {flextool-4.5.1 → flextool-4.5.2}/flextool/assistant/backends/_common.py +0 -0
  80. {flextool-4.5.1 → flextool-4.5.2}/flextool/assistant/backends/anthropic_messages.py +0 -0
  81. {flextool-4.5.1 → flextool-4.5.2}/flextool/assistant/backends/openai_chat.py +0 -0
  82. {flextool-4.5.1 → flextool-4.5.2}/flextool/assistant/budget.py +0 -0
  83. {flextool-4.5.1 → flextool-4.5.2}/flextool/assistant/caps.py +0 -0
  84. {flextool-4.5.1 → flextool-4.5.2}/flextool/assistant/chat_cli.py +0 -0
  85. {flextool-4.5.1 → flextool-4.5.2}/flextool/assistant/cli.py +0 -0
  86. {flextool-4.5.1 → flextool-4.5.2}/flextool/assistant/context.py +0 -0
  87. {flextool-4.5.1 → flextool-4.5.2}/flextool/assistant/docs_store.py +0 -0
  88. {flextool-4.5.1 → flextool-4.5.2}/flextool/assistant/endpoint.py +0 -0
  89. {flextool-4.5.1 → flextool-4.5.2}/flextool/assistant/env_knobs.py +0 -0
  90. {flextool-4.5.1 → flextool-4.5.2}/flextool/assistant/errors.py +0 -0
  91. {flextool-4.5.1 → flextool-4.5.2}/flextool/assistant/inputs/__init__.py +0 -0
  92. {flextool-4.5.1 → flextool-4.5.2}/flextool/assistant/inputs/_db.py +0 -0
  93. {flextool-4.5.1 → flextool-4.5.2}/flextool/assistant/inputs/_notes.py +0 -0
  94. {flextool-4.5.1 → flextool-4.5.2}/flextool/assistant/inputs/_schema.py +0 -0
  95. {flextool-4.5.1 → flextool-4.5.2}/flextool/assistant/inputs/_units.py +0 -0
  96. {flextool-4.5.1 → flextool-4.5.2}/flextool/assistant/inputs/_values.py +0 -0
  97. {flextool-4.5.1 → flextool-4.5.2}/flextool/assistant/keys.py +0 -0
  98. {flextool-4.5.1 → flextool-4.5.2}/flextool/assistant/llm_adapter.py +0 -0
  99. {flextool-4.5.1 → flextool-4.5.2}/flextool/assistant/llm_errors.py +0 -0
  100. {flextool-4.5.1 → flextool-4.5.2}/flextool/assistant/llm_retry.py +0 -0
  101. {flextool-4.5.1 → flextool-4.5.2}/flextool/assistant/mcp_server.py +0 -0
  102. {flextool-4.5.1 → flextool-4.5.2}/flextool/assistant/model_check.py +0 -0
  103. {flextool-4.5.1 → flextool-4.5.2}/flextool/assistant/model_facts.py +0 -0
  104. {flextool-4.5.1 → flextool-4.5.2}/flextool/assistant/model_list_cache.py +0 -0
  105. {flextool-4.5.1 → flextool-4.5.2}/flextool/assistant/model_versions.py +0 -0
  106. {flextool-4.5.1 → flextool-4.5.2}/flextool/assistant/net.py +0 -0
  107. {flextool-4.5.1 → flextool-4.5.2}/flextool/assistant/pacing.py +0 -0
  108. {flextool-4.5.1 → flextool-4.5.2}/flextool/assistant/placeholders.py +0 -0
  109. {flextool-4.5.1 → flextool-4.5.2}/flextool/assistant/probes.py +0 -0
  110. {flextool-4.5.1 → flextool-4.5.2}/flextool/assistant/project.py +0 -0
  111. {flextool-4.5.1 → flextool-4.5.2}/flextool/assistant/prompt.py +0 -0
  112. {flextool-4.5.1 → flextool-4.5.2}/flextool/assistant/providers.py +0 -0
  113. {flextool-4.5.1 → flextool-4.5.2}/flextool/assistant/redact.py +0 -0
  114. {flextool-4.5.1 → flextool-4.5.2}/flextool/assistant/registry.py +0 -0
  115. {flextool-4.5.1 → flextool-4.5.2}/flextool/assistant/results/__init__.py +0 -0
  116. {flextool-4.5.1 → flextool-4.5.2}/flextool/assistant/results/_catalog.py +0 -0
  117. {flextool-4.5.1 → flextool-4.5.2}/flextool/assistant/results/_entity.py +0 -0
  118. {flextool-4.5.1 → flextool-4.5.2}/flextool/assistant/results/_overview.py +0 -0
  119. {flextool-4.5.1 → flextool-4.5.2}/flextool/assistant/results/_query.py +0 -0
  120. {flextool-4.5.1 → flextool-4.5.2}/flextool/assistant/results/_runs.py +0 -0
  121. {flextool-4.5.1 → flextool-4.5.2}/flextool/assistant/results/_slacks.py +0 -0
  122. {flextool-4.5.1 → flextool-4.5.2}/flextool/assistant/runtime_context.py +0 -0
  123. {flextool-4.5.1 → flextool-4.5.2}/flextool/assistant/session.py +0 -0
  124. {flextool-4.5.1 → flextool-4.5.2}/flextool/assistant/settings.py +0 -0
  125. {flextool-4.5.1 → flextool-4.5.2}/flextool/assistant/store.py +0 -0
  126. {flextool-4.5.1 → flextool-4.5.2}/flextool/assistant/textsearch.py +0 -0
  127. {flextool-4.5.1 → flextool-4.5.2}/flextool/assistant/thoughts.py +0 -0
  128. {flextool-4.5.1 → flextool-4.5.2}/flextool/assistant/tiers.py +0 -0
  129. {flextool-4.5.1 → flextool-4.5.2}/flextool/assistant/tools/__init__.py +0 -0
  130. {flextool-4.5.1 → flextool-4.5.2}/flextool/assistant/tools/diagnostics.py +0 -0
  131. {flextool-4.5.1 → flextool-4.5.2}/flextool/assistant/tools/discovery.py +0 -0
  132. {flextool-4.5.1 → flextool-4.5.2}/flextool/assistant/tools/explain.py +0 -0
  133. {flextool-4.5.1 → flextool-4.5.2}/flextool/assistant/tools/inputs.py +0 -0
  134. {flextool-4.5.1 → flextool-4.5.2}/flextool/assistant/tools/orientation.py +0 -0
  135. {flextool-4.5.1 → flextool-4.5.2}/flextool/assistant/tools/results.py +0 -0
  136. {flextool-4.5.1 → flextool-4.5.2}/flextool/assistant/unit_wording.py +0 -0
  137. {flextool-4.5.1 → flextool-4.5.2}/flextool/assistant/usage.py +0 -0
  138. {flextool-4.5.1 → flextool-4.5.2}/flextool/calibrate/__init__.py +0 -0
  139. {flextool-4.5.1 → flextool-4.5.2}/flextool/calibrate/__main__.py +0 -0
  140. {flextool-4.5.1 → flextool-4.5.2}/flextool/calibrate/_cli.py +0 -0
  141. {flextool-4.5.1 → flextool-4.5.2}/flextool/calibrate/_db_alt.py +0 -0
  142. {flextool-4.5.1 → flextool-4.5.2}/flextool/calibrate/_final_outputs.py +0 -0
  143. {flextool-4.5.1 → flextool-4.5.2}/flextool/calibrate/_guard.py +0 -0
  144. {flextool-4.5.1 → flextool-4.5.2}/flextool/calibrate/_loop.py +0 -0
  145. {flextool-4.5.1 → flextool-4.5.2}/flextool/calibrate/_readers.py +0 -0
  146. {flextool-4.5.1 → flextool-4.5.2}/flextool/calibrate/_report.py +0 -0
  147. {flextool-4.5.1 → flextool-4.5.2}/flextool/calibrate/_sizing.py +0 -0
  148. {flextool-4.5.1 → flextool-4.5.2}/flextool/calibrate/_solve.py +0 -0
  149. {flextool-4.5.1 → flextool-4.5.2}/flextool/calibrate/_solve_status.py +0 -0
  150. {flextool-4.5.1 → flextool-4.5.2}/flextool/cli/__init__.py +0 -0
  151. {flextool-4.5.1 → flextool-4.5.2}/flextool/cli/_console.py +0 -0
  152. {flextool-4.5.1 → flextool-4.5.2}/flextool/cli/_timing.py +0 -0
  153. {flextool-4.5.1 → flextool-4.5.2}/flextool/cli/cmd_execute_flextool_workflow.py +0 -0
  154. {flextool-4.5.1 → flextool-4.5.2}/flextool/cli/cmd_export_to_tabular.py +0 -0
  155. {flextool-4.5.1 → flextool-4.5.2}/flextool/cli/cmd_freeze_database.py +0 -0
  156. {flextool-4.5.1 → flextool-4.5.2}/flextool/cli/cmd_import_sensitivities.py +0 -0
  157. {flextool-4.5.1 → flextool-4.5.2}/flextool/cli/cmd_open_results_db.py +0 -0
  158. {flextool-4.5.1 → flextool-4.5.2}/flextool/cli/cmd_project_package.py +0 -0
  159. {flextool-4.5.1 → flextool-4.5.2}/flextool/cli/cmd_read_matpower.py +0 -0
  160. {flextool-4.5.1 → flextool-4.5.2}/flextool/cli/cmd_read_old_flextool.py +0 -0
  161. {flextool-4.5.1 → flextool-4.5.2}/flextool/cli/cmd_read_self_describing_tabular_input.py +0 -0
  162. {flextool-4.5.1 → flextool-4.5.2}/flextool/cli/cmd_read_tabular_input.py +0 -0
  163. {flextool-4.5.1 → flextool-4.5.2}/flextool/cli/cmd_scenario_results.py +0 -0
  164. {flextool-4.5.1 → flextool-4.5.2}/flextool/cli/cmd_solve_mps.py +0 -0
  165. {flextool-4.5.1 → flextool-4.5.2}/flextool/cli/cmd_time_runs.py +0 -0
  166. {flextool-4.5.1 → flextool-4.5.2}/flextool/cli/cmd_trust_workspace.py +0 -0
  167. {flextool-4.5.1 → flextool-4.5.2}/flextool/cli/cmd_write_outputs.py +0 -0
  168. {flextool-4.5.1 → flextool-4.5.2}/flextool/common_utils/__init__.py +0 -0
  169. {flextool-4.5.1 → flextool-4.5.2}/flextool/common_utils/plot_mem_shape.py +0 -0
  170. {flextool-4.5.1 → flextool-4.5.2}/flextool/decomposition/__init__.py +0 -0
  171. {flextool-4.5.1 → flextool-4.5.2}/flextool/decomposition/region_decomposition.py +0 -0
  172. {flextool-4.5.1 → flextool-4.5.2}/flextool/decomposition/region_filter.py +0 -0
  173. {flextool-4.5.1 → flextool-4.5.2}/flextool/docs_build/__init__.py +0 -0
  174. {flextool-4.5.1 → flextool-4.5.2}/flextool/docs_build/__main__.py +0 -0
  175. {flextool-4.5.1 → flextool-4.5.2}/flextool/docs_build/catalogue.py +0 -0
  176. {flextool-4.5.1 → flextool-4.5.2}/flextool/docs_build/formulation.py +0 -0
  177. {flextool-4.5.1 → flextool-4.5.2}/flextool/docs_build/index.py +0 -0
  178. {flextool-4.5.1 → flextool-4.5.2}/flextool/docs_build/parameters.py +0 -0
  179. {flextool-4.5.1 → flextool-4.5.2}/flextool/docs_build/scope.py +0 -0
  180. {flextool-4.5.1 → flextool-4.5.2}/flextool/engine/__init__.py +0 -0
  181. {flextool-4.5.1 → flextool-4.5.2}/flextool/engine/_behaviour_changes.py +0 -0
  182. {flextool-4.5.1 → flextool-4.5.2}/flextool/engine/_csv_reload/__init__.py +0 -0
  183. {flextool-4.5.1 → flextool-4.5.2}/flextool/engine/_csv_reload/_field_seeds.py +0 -0
  184. {flextool-4.5.1 → flextool-4.5.2}/flextool/engine/_csv_reload/_meta.py +0 -0
  185. {flextool-4.5.1 → flextool-4.5.2}/flextool/engine/_csv_reload/_seed.py +0 -0
  186. {flextool-4.5.1 → flextool-4.5.2}/flextool/engine/_csv_reload/_stamp.py +0 -0
  187. {flextool-4.5.1 → flextool-4.5.2}/flextool/engine/_csv_reload/_topology.py +0 -0
  188. {flextool-4.5.1 → flextool-4.5.2}/flextool/engine/_csv_reload/load.py +0 -0
  189. {flextool-4.5.1 → flextool-4.5.2}/flextool/engine/_csv_reload/offline_outputs.py +0 -0
  190. {flextool-4.5.1 → flextool-4.5.2}/flextool/engine/autoscale/__init__.py +0 -0
  191. {flextool-4.5.1 → flextool-4.5.2}/flextool/engine/autoscale/_config.py +0 -0
  192. {flextool-4.5.1 → flextool-4.5.2}/flextool/engine/autoscale/_guard.py +0 -0
  193. {flextool-4.5.1 → flextool-4.5.2}/flextool/engine/autoscale/_layer2.py +0 -0
  194. {flextool-4.5.1 → flextool-4.5.2}/flextool/engine/autoscale/_layer2_types.py +0 -0
  195. {flextool-4.5.1 → flextool-4.5.2}/flextool/engine/autoscale/_quantity_types.py +0 -0
  196. {flextool-4.5.1 → flextool-4.5.2}/flextool/engine/autoscale/_report.py +0 -0
  197. {flextool-4.5.1 → flextool-4.5.2}/flextool/engine/input/__init__.py +0 -0
  198. {flextool-4.5.1 → flextool-4.5.2}/flextool/engine/input/_axis_enums.py +0 -0
  199. {flextool-4.5.1 → flextool-4.5.2}/flextool/engine/input/_constants.py +0 -0
  200. {flextool-4.5.1 → flextool-4.5.2}/flextool/engine/input/_db_loader.py +0 -0
  201. {flextool-4.5.1 → flextool-4.5.2}/flextool/engine/input/_db_reader.py +0 -0
  202. {flextool-4.5.1 → flextool-4.5.2}/flextool/engine/input/_inmemory_reader.py +0 -0
  203. {flextool-4.5.1 → flextool-4.5.2}/flextool/engine/input/_input_source.py +0 -0
  204. {flextool-4.5.1 → flextool-4.5.2}/flextool/engine/input/_param_shapes.py +0 -0
  205. {flextool-4.5.1 → flextool-4.5.2}/flextool/engine/input/_piecewise_curve.py +0 -0
  206. {flextool-4.5.1 → flextool-4.5.2}/flextool/engine/input/_solve_config.py +0 -0
  207. {flextool-4.5.1 → flextool-4.5.2}/flextool/engine/input/_solve_state.py +0 -0
  208. {flextool-4.5.1 → flextool-4.5.2}/flextool/engine/input/_solve_step_aggregation.py +0 -0
  209. {flextool-4.5.1 → flextool-4.5.2}/flextool/engine/input/_spinedb_reader.py +0 -0
  210. {flextool-4.5.1 → flextool-4.5.2}/flextool/engine/input/_timeline.py +0 -0
  211. {flextool-4.5.1 → flextool-4.5.2}/flextool/engine/input/_timeline_rules.py +0 -0
  212. {flextool-4.5.1 → flextool-4.5.2}/flextool/engine/model/__init__.py +0 -0
  213. {flextool-4.5.1 → flextool-4.5.2}/flextool/engine/model/_balance_terms.py +0 -0
  214. {flextool-4.5.1 → flextool-4.5.2}/flextool/engine/model/_coarse_flows.py +0 -0
  215. {flextool-4.5.1 → flextool-4.5.2}/flextool/engine/model/_commodity_ladder.py +0 -0
  216. {flextool-4.5.1 → flextool-4.5.2}/flextool/engine/model/_common.py +0 -0
  217. {flextool-4.5.1 → flextool-4.5.2}/flextool/engine/model/_cumulative_invest.py +0 -0
  218. {flextool-4.5.1 → flextool-4.5.2}/flextool/engine/model/_dc_power_flow.py +0 -0
  219. {flextool-4.5.1 → flextool-4.5.2}/flextool/engine/model/_delay.py +0 -0
  220. {flextool-4.5.1 → flextool-4.5.2}/flextool/engine/model/_exact.py +0 -0
  221. {flextool-4.5.1 → flextool-4.5.2}/flextool/engine/model/_group_slack.py +0 -0
  222. {flextool-4.5.1 → flextool-4.5.2}/flextool/engine/model/_lead_time.py +0 -0
  223. {flextool-4.5.1 → flextool-4.5.2}/flextool/engine/model/_non_anticipativity.py +0 -0
  224. {flextool-4.5.1 → flextool-4.5.2}/flextool/engine/model/_online.py +0 -0
  225. {flextool-4.5.1 → flextool-4.5.2}/flextool/engine/model/_pdt_join.py +0 -0
  226. {flextool-4.5.1 → flextool-4.5.2}/flextool/engine/model/_reserve.py +0 -0
  227. {flextool-4.5.1 → flextool-4.5.2}/flextool/engine/model/_self_discharge.py +0 -0
  228. {flextool-4.5.1 → flextool-4.5.2}/flextool/engine/model/_unit_floors.py +0 -0
  229. {flextool-4.5.1 → flextool-4.5.2}/flextool/engine/model/core.py +0 -0
  230. {flextool-4.5.1 → flextool-4.5.2}/flextool/engine/output/__init__.py +0 -0
  231. {flextool-4.5.1 → flextool-4.5.2}/flextool/engine/output/_capacity_margin.py +0 -0
  232. {flextool-4.5.1 → flextool-4.5.2}/flextool/engine/output/_coarse_flows.py +0 -0
  233. {flextool-4.5.1 → flextool-4.5.2}/flextool/engine/output/_dump_csvs.py +0 -0
  234. {flextool-4.5.1 → flextool-4.5.2}/flextool/engine/output/_horizon_dump.py +0 -0
  235. {flextool-4.5.1 → flextool-4.5.2}/flextool/engine/output/_parquet_bundle.py +0 -0
  236. {flextool-4.5.1 → flextool-4.5.2}/flextool/engine/output/_prices.py +0 -0
  237. {flextool-4.5.1 → flextool-4.5.2}/flextool/engine/output/_reserve_report.py +0 -0
  238. {flextool-4.5.1 → flextool-4.5.2}/flextool/engine/output/_writer.py +0 -0
  239. {flextool-4.5.1 → flextool-4.5.2}/flextool/engine/preprocess/__init__.py +0 -0
  240. {flextool-4.5.1 → flextool-4.5.2}/flextool/engine/preprocess/_annuity.py +0 -0
  241. {flextool-4.5.1 → flextool-4.5.2}/flextool/engine/preprocess/_co2_methods.py +0 -0
  242. {flextool-4.5.1 → flextool-4.5.2}/flextool/engine/preprocess/_dump_stamp.py +0 -0
  243. {flextool-4.5.1 → flextool-4.5.2}/flextool/engine/preprocess/_flex_data_provider.py +0 -0
  244. {flextool-4.5.1 → flextool-4.5.2}/flextool/engine/preprocess/_input_writer.py +0 -0
  245. {flextool-4.5.1 → flextool-4.5.2}/flextool/engine/preprocess/_invest_seeds.py +0 -0
  246. {flextool-4.5.1 → flextool-4.5.2}/flextool/engine/preprocess/_provider_io.py +0 -0
  247. {flextool-4.5.1 → flextool-4.5.2}/flextool/engine/preprocess/_provider_keys.py +0 -0
  248. {flextool-4.5.1 → flextool-4.5.2}/flextool/engine/preprocess/_provider_translators.py +0 -0
  249. {flextool-4.5.1 → flextool-4.5.2}/flextool/engine/preprocess/_reduce_detail.py +0 -0
  250. {flextool-4.5.1 → flextool-4.5.2}/flextool/engine/preprocess/_reserve_methods.py +0 -0
  251. {flextool-4.5.1 → flextool-4.5.2}/flextool/engine/preprocess/_solve_context.py +0 -0
  252. {flextool-4.5.1 → flextool-4.5.2}/flextool/engine/preprocess/_stochastic_detect.py +0 -0
  253. {flextool-4.5.1 → flextool-4.5.2}/flextool/engine/preprocess/emit/__init__.py +0 -0
  254. {flextool-4.5.1 → flextool-4.5.2}/flextool/engine/preprocess/emit/_arc_unions.py +0 -0
  255. {flextool-4.5.1 → flextool-4.5.2}/flextool/engine/preprocess/emit/_base_steps.py +0 -0
  256. {flextool-4.5.1 → flextool-4.5.2}/flextool/engine/preprocess/emit/_blocks.py +0 -0
  257. {flextool-4.5.1 → flextool-4.5.2}/flextool/engine/preprocess/emit/_calc_params.py +0 -0
  258. {flextool-4.5.1 → flextool-4.5.2}/flextool/engine/preprocess/emit/_capacity_margin_peak.py +0 -0
  259. {flextool-4.5.1 → flextool-4.5.2}/flextool/engine/preprocess/emit/_chain_params.py +0 -0
  260. {flextool-4.5.1 → flextool-4.5.2}/flextool/engine/preprocess/emit/_co2_accumulators.py +0 -0
  261. {flextool-4.5.1 → flextool-4.5.2}/flextool/engine/preprocess/emit/_dispatchers.py +0 -0
  262. {flextool-4.5.1 → flextool-4.5.2}/flextool/engine/preprocess/emit/_energy_margin.py +0 -0
  263. {flextool-4.5.1 → flextool-4.5.2}/flextool/engine/preprocess/emit/_energy_margin_adder.py +0 -0
  264. {flextool-4.5.1 → flextool-4.5.2}/flextool/engine/preprocess/emit/_entity_annual.py +0 -0
  265. {flextool-4.5.1 → flextool-4.5.2}/flextool/engine/preprocess/emit/_inflow_scaling.py +0 -0
  266. {flextool-4.5.1 → flextool-4.5.2}/flextool/engine/preprocess/emit/_inflow_scaling_checks.py +0 -0
  267. {flextool-4.5.1 → flextool-4.5.2}/flextool/engine/preprocess/emit/_leaf_sets.py +0 -0
  268. {flextool-4.5.1 → flextool-4.5.2}/flextool/engine/preprocess/emit/_lp_scaling.py +0 -0
  269. {flextool-4.5.1 → flextool-4.5.2}/flextool/engine/preprocess/emit/_mid_sets.py +0 -0
  270. {flextool-4.5.1 → flextool-4.5.2}/flextool/engine/preprocess/emit/_pdt_lookup.py +0 -0
  271. {flextool-4.5.1 → flextool-4.5.2}/flextool/engine/preprocess/emit/_pdt_params.py +0 -0
  272. {flextool-4.5.1 → flextool-4.5.2}/flextool/engine/preprocess/emit/_per_solve.py +0 -0
  273. {flextool-4.5.1 → flextool-4.5.2}/flextool/engine/preprocess/emit/_period_calc.py +0 -0
  274. {flextool-4.5.1 → flextool-4.5.2}/flextool/engine/preprocess/emit/_period_params.py +0 -0
  275. {flextool-4.5.1 → flextool-4.5.2}/flextool/engine/preprocess/emit/_reserve_sets.py +0 -0
  276. {flextool-4.5.1 → flextool-4.5.2}/flextool/engine/preprocess/emit/_solve_time.py +0 -0
  277. {flextool-4.5.1 → flextool-4.5.2}/flextool/engine/preprocess/emit/_solve_writers.py +0 -0
  278. {flextool-4.5.1 → flextool-4.5.2}/flextool/engine/preprocess/emit/_vectorize.py +0 -0
  279. {flextool-4.5.1 → flextool-4.5.2}/flextool/engine/preprocess/flex_data.py +0 -0
  280. {flextool-4.5.1 → flextool-4.5.2}/flextool/engine/preprocess/params/__init__.py +0 -0
  281. {flextool-4.5.1 → flextool-4.5.2}/flextool/engine/preprocess/params/_arithmetic.py +0 -0
  282. {flextool-4.5.1 → flextool-4.5.2}/flextool/engine/preprocess/params/_block.py +0 -0
  283. {flextool-4.5.1 → flextool-4.5.2}/flextool/engine/preprocess/params/_block_layout.py +0 -0
  284. {flextool-4.5.1 → flextool-4.5.2}/flextool/engine/preprocess/params/_branch.py +0 -0
  285. {flextool-4.5.1 → flextool-4.5.2}/flextool/engine/preprocess/params/_coarse.py +0 -0
  286. {flextool-4.5.1 → flextool-4.5.2}/flextool/engine/preprocess/params/_derived.py +0 -0
  287. {flextool-4.5.1 → flextool-4.5.2}/flextool/engine/preprocess/params/_direct.py +0 -0
  288. {flextool-4.5.1 → flextool-4.5.2}/flextool/engine/preprocess/params/_existing.py +0 -0
  289. {flextool-4.5.1 → flextool-4.5.2}/flextool/engine/preprocess/params/_mintime.py +0 -0
  290. {flextool-4.5.1 → flextool-4.5.2}/flextool/engine/preprocess/params/_npv.py +0 -0
  291. {flextool-4.5.1 → flextool-4.5.2}/flextool/engine/preprocess/params/_per_solve_sets.py +0 -0
  292. {flextool-4.5.1 → flextool-4.5.2}/flextool/engine/preprocess/params/_piecewise.py +0 -0
  293. {flextool-4.5.1 → flextool-4.5.2}/flextool/engine/preprocess/params/_profiles.py +0 -0
  294. {flextool-4.5.1 → flextool-4.5.2}/flextool/engine/preprocess/params/_projection.py +0 -0
  295. {flextool-4.5.1 → flextool-4.5.2}/flextool/engine/preprocess/params/_ramp_links.py +0 -0
  296. {flextool-4.5.1 → flextool-4.5.2}/flextool/engine/preprocess/params/_retire_existing.py +0 -0
  297. {flextool-4.5.1 → flextool-4.5.2}/flextool/engine/preprocess/params/_run_calendar.py +0 -0
  298. {flextool-4.5.1 → flextool-4.5.2}/flextool/engine/preprocess/params/_walks.py +0 -0
  299. {flextool-4.5.1 → flextool-4.5.2}/flextool/engine/solve/__init__.py +0 -0
  300. {flextool-4.5.1 → flextool-4.5.2}/flextool/engine/solve/_acceptance.py +0 -0
  301. {flextool-4.5.1 → flextool-4.5.2}/flextool/engine/solve/_benders.py +0 -0
  302. {flextool-4.5.1 → flextool-4.5.2}/flextool/engine/solve/_carry_routing.py +0 -0
  303. {flextool-4.5.1 → flextool-4.5.2}/flextool/engine/solve/_determinism.py +0 -0
  304. {flextool-4.5.1 → flextool-4.5.2}/flextool/engine/solve/_handoff.py +0 -0
  305. {flextool-4.5.1 → flextool-4.5.2}/flextool/engine/solve/_objective_options.py +0 -0
  306. {flextool-4.5.1 → flextool-4.5.2}/flextool/engine/solve/_orchestration.py +0 -0
  307. {flextool-4.5.1 → flextool-4.5.2}/flextool/engine/solve/_realization.py +0 -0
  308. {flextool-4.5.1 → flextool-4.5.2}/flextool/engine/solve/_realized_overlap.py +0 -0
  309. {flextool-4.5.1 → flextool-4.5.2}/flextool/engine/solve/_recursive_solve.py +0 -0
  310. {flextool-4.5.1 → flextool-4.5.2}/flextool/engine/solve/_region_filter.py +0 -0
  311. {flextool-4.5.1 → flextool-4.5.2}/flextool/engine/solve/_run_model.py +0 -0
  312. {flextool-4.5.1 → flextool-4.5.2}/flextool/engine/solve/_solver_base.py +0 -0
  313. {flextool-4.5.1 → flextool-4.5.2}/flextool/engine/solve/_solver_catalogue.py +0 -0
  314. {flextool-4.5.1 → flextool-4.5.2}/flextool/engine/solve/_solver_dispatch.py +0 -0
  315. {flextool-4.5.1 → flextool-4.5.2}/flextool/engine/solve/_stochastic.py +0 -0
  316. {flextool-4.5.1 → flextool-4.5.2}/flextool/engine/solve/_subprocess_solve.py +0 -0
  317. {flextool-4.5.1 → flextool-4.5.2}/flextool/engine/solve/_warm.py +0 -0
  318. {flextool-4.5.1 → flextool-4.5.2}/flextool/engine/solve/chain.py +0 -0
  319. {flextool-4.5.1 → flextool-4.5.2}/flextool/engine/solve/solver_catalogue/copt.json +0 -0
  320. {flextool-4.5.1 → flextool-4.5.2}/flextool/engine/solve/solver_catalogue/cplex.json +0 -0
  321. {flextool-4.5.1 → flextool-4.5.2}/flextool/engine/solve/solver_catalogue/gurobi.json +0 -0
  322. {flextool-4.5.1 → flextool-4.5.2}/flextool/engine/solve/solver_catalogue/highs.json +0 -0
  323. {flextool-4.5.1 → flextool-4.5.2}/flextool/engine/solve/solver_catalogue/xpress.json +0 -0
  324. {flextool-4.5.1 → flextool-4.5.2}/flextool/engine_polars/__init__.py +0 -0
  325. {flextool-4.5.1 → flextool-4.5.2}/flextool/env_check.py +0 -0
  326. {flextool-4.5.1 → flextool-4.5.2}/flextool/export_to_tabular/__init__.py +0 -0
  327. {flextool-4.5.1 → flextool-4.5.2}/flextool/export_to_tabular/db_reader.py +0 -0
  328. {flextool-4.5.1 → flextool-4.5.2}/flextool/export_to_tabular/excel_writer.py +0 -0
  329. {flextool-4.5.1 → flextool-4.5.2}/flextool/export_to_tabular/export_settings.yaml +0 -0
  330. {flextool-4.5.1 → flextool-4.5.2}/flextool/export_to_tabular/export_to_excel.py +0 -0
  331. {flextool-4.5.1 → flextool-4.5.2}/flextool/export_to_tabular/formatting.py +0 -0
  332. {flextool-4.5.1 → flextool-4.5.2}/flextool/export_to_tabular/sheet_config.py +0 -0
  333. {flextool-4.5.1 → flextool-4.5.2}/flextool/gui/__init__.py +0 -0
  334. {flextool-4.5.1 → flextool-4.5.2}/flextool/gui/__main__.py +0 -0
  335. {flextool-4.5.1 → flextool-4.5.2}/flextool/gui/_menus.py +0 -0
  336. {flextool-4.5.1 → flextool-4.5.2}/flextool/gui/assistant/__init__.py +0 -0
  337. {flextool-4.5.1 → flextool-4.5.2}/flextool/gui/assistant/chat_tab.py +0 -0
  338. {flextool-4.5.1 → flextool-4.5.2}/flextool/gui/assistant/chat_window.py +0 -0
  339. {flextool-4.5.1 → flextool-4.5.2}/flextool/gui/assistant/entry.py +0 -0
  340. {flextool-4.5.1 → flextool-4.5.2}/flextool/gui/assistant/fonts.py +0 -0
  341. {flextool-4.5.1 → flextool-4.5.2}/flextool/gui/assistant/gate.py +0 -0
  342. {flextool-4.5.1 → flextool-4.5.2}/flextool/gui/assistant/geometry.py +0 -0
  343. {flextool-4.5.1 → flextool-4.5.2}/flextool/gui/assistant/gui_state.py +0 -0
  344. {flextool-4.5.1 → flextool-4.5.2}/flextool/gui/assistant/markdown_stream.py +0 -0
  345. {flextool-4.5.1 → flextool-4.5.2}/flextool/gui/assistant/notices.py +0 -0
  346. {flextool-4.5.1 → flextool-4.5.2}/flextool/gui/assistant/settings_dialog.py +0 -0
  347. {flextool-4.5.1 → flextool-4.5.2}/flextool/gui/assistant/strings.py +0 -0
  348. {flextool-4.5.1 → flextool-4.5.2}/flextool/gui/assistant/transcript.py +0 -0
  349. {flextool-4.5.1 → flextool-4.5.2}/flextool/gui/assistant/worker.py +0 -0
  350. {flextool-4.5.1 → flextool-4.5.2}/flextool/gui/calibrate_commands.py +0 -0
  351. {flextool-4.5.1 → flextool-4.5.2}/flextool/gui/calibrate_jobs.py +0 -0
  352. {flextool-4.5.1 → flextool-4.5.2}/flextool/gui/check_tree.py +0 -0
  353. {flextool-4.5.1 → flextool-4.5.2}/flextool/gui/cli_format.py +0 -0
  354. {flextool-4.5.1 → flextool-4.5.2}/flextool/gui/config_parser.py +0 -0
  355. {flextool-4.5.1 → flextool-4.5.2}/flextool/gui/data_models.py +0 -0
  356. {flextool-4.5.1 → flextool-4.5.2}/flextool/gui/db_editor_integration.py +0 -0
  357. {flextool-4.5.1 → flextool-4.5.2}/flextool/gui/dialogs/__init__.py +0 -0
  358. {flextool-4.5.1 → flextool-4.5.2}/flextool/gui/dialogs/add_dialog.py +0 -0
  359. {flextool-4.5.1 → flextool-4.5.2}/flextool/gui/dialogs/calibrate_dialog.py +0 -0
  360. {flextool-4.5.1 → flextool-4.5.2}/flextool/gui/dialogs/file_picker.py +0 -0
  361. {flextool-4.5.1 → flextool-4.5.2}/flextool/gui/dialogs/group_picker.py +0 -0
  362. {flextool-4.5.1 → flextool-4.5.2}/flextool/gui/dialogs/local_solver_settings_dialog.py +0 -0
  363. {flextool-4.5.1 → flextool-4.5.2}/flextool/gui/dialogs/migration_consent_dialog.py +0 -0
  364. {flextool-4.5.1 → flextool-4.5.2}/flextool/gui/dialogs/migration_progress_dialog.py +0 -0
  365. {flextool-4.5.1 → flextool-4.5.2}/flextool/gui/dialogs/plot_dialog.py +0 -0
  366. {flextool-4.5.1 → flextool-4.5.2}/flextool/gui/dialogs/plot_settings_picker.py +0 -0
  367. {flextool-4.5.1 → flextool-4.5.2}/flextool/gui/dialogs/project_dialog.py +0 -0
  368. {flextool-4.5.1 → flextool-4.5.2}/flextool/gui/dialogs/project_package_dialog.py +0 -0
  369. {flextool-4.5.1 → flextool-4.5.2}/flextool/gui/dialogs/update_dialog.py +0 -0
  370. {flextool-4.5.1 → flextool-4.5.2}/flextool/gui/downsampling.py +0 -0
  371. {flextool-4.5.1 → flextool-4.5.2}/flextool/gui/error_handling.py +0 -0
  372. {flextool-4.5.1 → flextool-4.5.2}/flextool/gui/execution_manager.py +0 -0
  373. {flextool-4.5.1 → flextool-4.5.2}/flextool/gui/execution_window.py +0 -0
  374. {flextool-4.5.1 → flextool-4.5.2}/flextool/gui/hover_tooltip.py +0 -0
  375. {flextool-4.5.1 → flextool-4.5.2}/flextool/gui/input_sources.py +0 -0
  376. {flextool-4.5.1 → flextool-4.5.2}/flextool/gui/main_window.py +0 -0
  377. {flextool-4.5.1 → flextool-4.5.2}/flextool/gui/network_graph.py +0 -0
  378. {flextool-4.5.1 → flextool-4.5.2}/flextool/gui/output_actions.py +0 -0
  379. {flextool-4.5.1 → flextool-4.5.2}/flextool/gui/output_log_window.py +0 -0
  380. {flextool-4.5.1 → flextool-4.5.2}/flextool/gui/platform_utils.py +0 -0
  381. {flextool-4.5.1 → flextool-4.5.2}/flextool/gui/plot_cache.py +0 -0
  382. {flextool-4.5.1 → flextool-4.5.2}/flextool/gui/plot_canvas.py +0 -0
  383. {flextool-4.5.1 → flextool-4.5.2}/flextool/gui/plot_config_reader.py +0 -0
  384. {flextool-4.5.1 → flextool-4.5.2}/flextool/gui/project_utils.py +0 -0
  385. {flextool-4.5.1 → flextool-4.5.2}/flextool/gui/result_viewer.py +0 -0
  386. {flextool-4.5.1 → flextool-4.5.2}/flextool/gui/scenario_key.py +0 -0
  387. {flextool-4.5.1 → flextool-4.5.2}/flextool/gui/scenario_lists.py +0 -0
  388. {flextool-4.5.1 → flextool-4.5.2}/flextool/gui/settings_io.py +0 -0
  389. {flextool-4.5.1 → flextool-4.5.2}/flextool/gui/solve_reader.py +0 -0
  390. {flextool-4.5.1 → flextool-4.5.2}/flextool/gui/tree_reorder.py +0 -0
  391. {flextool-4.5.1 → flextool-4.5.2}/flextool/gui/ui_metrics.py +0 -0
  392. {flextool-4.5.1 → flextool-4.5.2}/flextool/input_derivation/__init__.py +0 -0
  393. {flextool-4.5.1 → flextool-4.5.2}/flextool/input_derivation/_commodity_ladder.py +0 -0
  394. {flextool-4.5.1 → flextool-4.5.2}/flextool/input_derivation/_commodity_ladder_sets.py +0 -0
  395. {flextool-4.5.1 → flextool-4.5.2}/flextool/input_derivation/_dc_power_flow.py +0 -0
  396. {flextool-4.5.1 → flextool-4.5.2}/flextool/input_derivation/_method_constants.py +0 -0
  397. {flextool-4.5.1 → flextool-4.5.2}/flextool/input_derivation/_piecewise.py +0 -0
  398. {flextool-4.5.1 → flextool-4.5.2}/flextool/input_derivation/_process_method.py +0 -0
  399. {flextool-4.5.1 → flextool-4.5.2}/flextool/input_derivation/_specs.py +0 -0
  400. {flextool-4.5.1 → flextool-4.5.2}/flextool/input_derivation/_validators.py +0 -0
  401. {flextool-4.5.1 → flextool-4.5.2}/flextool/lean_parquet.py +0 -0
  402. {flextool-4.5.1 → flextool-4.5.2}/flextool/model_builder/__init__.py +0 -0
  403. {flextool-4.5.1 → flextool-4.5.2}/flextool/model_builder/_special.py +0 -0
  404. {flextool-4.5.1 → flextool-4.5.2}/flextool/model_builder/build_model.py +0 -0
  405. {flextool-4.5.1 → flextool-4.5.2}/flextool/model_builder/encoding.py +0 -0
  406. {flextool-4.5.1 → flextool-4.5.2}/flextool/model_builder/names.py +0 -0
  407. {flextool-4.5.1 → flextool-4.5.2}/flextool/model_builder/profiles.py +0 -0
  408. {flextool-4.5.1 → flextool-4.5.2}/flextool/plot_outputs/__init__.py +0 -0
  409. {flextool-4.5.1 → flextool-4.5.2}/flextool/plot_outputs/axis_helpers.py +0 -0
  410. {flextool-4.5.1 → flextool-4.5.2}/flextool/plot_outputs/color_template.py +0 -0
  411. {flextool-4.5.1 → flextool-4.5.2}/flextool/plot_outputs/config.py +0 -0
  412. {flextool-4.5.1 → flextool-4.5.2}/flextool/plot_outputs/format_helpers.py +0 -0
  413. {flextool-4.5.1 → flextool-4.5.2}/flextool/plot_outputs/legend_helpers.py +0 -0
  414. {flextool-4.5.1 → flextool-4.5.2}/flextool/plot_outputs/orchestrator.py +0 -0
  415. {flextool-4.5.1 → flextool-4.5.2}/flextool/plot_outputs/perf.py +0 -0
  416. {flextool-4.5.1 → flextool-4.5.2}/flextool/plot_outputs/plan.py +0 -0
  417. {flextool-4.5.1 → flextool-4.5.2}/flextool/plot_outputs/plot_bars.py +0 -0
  418. {flextool-4.5.1 → flextool-4.5.2}/flextool/plot_outputs/plot_bars_detail.py +0 -0
  419. {flextool-4.5.1 → flextool-4.5.2}/flextool/plot_outputs/plot_lines.py +0 -0
  420. {flextool-4.5.1 → flextool-4.5.2}/flextool/plot_outputs/shared_manifest.py +0 -0
  421. {flextool-4.5.1 → flextool-4.5.2}/flextool/plot_outputs/subplot_helpers.py +0 -0
  422. {flextool-4.5.1 → flextool-4.5.2}/flextool/plot_outputs/unit_labels.py +0 -0
  423. {flextool-4.5.1 → flextool-4.5.2}/flextool/process_inputs/__init__.py +0 -0
  424. {flextool-4.5.1 → flextool-4.5.2}/flextool/process_inputs/import_old_excel_input.json +0 -0
  425. {flextool-4.5.1 → flextool-4.5.2}/flextool/process_inputs/read_matpower.py +0 -0
  426. {flextool-4.5.1 → flextool-4.5.2}/flextool/process_inputs/read_old_flextool.py +0 -0
  427. {flextool-4.5.1 → flextool-4.5.2}/flextool/process_inputs/read_self_describing_excel.py +0 -0
  428. {flextool-4.5.1 → flextool-4.5.2}/flextool/process_inputs/read_tabular_with_specification.py +0 -0
  429. {flextool-4.5.1 → flextool-4.5.2}/flextool/process_inputs/write_old_flextool_to_db.py +0 -0
  430. {flextool-4.5.1 → flextool-4.5.2}/flextool/process_inputs/write_self_describing_to_db.py +0 -0
  431. {flextool-4.5.1 → flextool-4.5.2}/flextool/process_inputs/write_to_input_db.py +0 -0
  432. {flextool-4.5.1 → flextool-4.5.2}/flextool/process_outputs/__init__.py +0 -0
  433. {flextool-4.5.1 → flextool-4.5.2}/flextool/process_outputs/_annualize.py +0 -0
  434. {flextool-4.5.1 → flextool-4.5.2}/flextool/process_outputs/_csv_sidecars.py +0 -0
  435. {flextool-4.5.1 → flextool-4.5.2}/flextool/process_outputs/_excel_writer.py +0 -0
  436. {flextool-4.5.1 → flextool-4.5.2}/flextool/process_outputs/_fan_labels.py +0 -0
  437. {flextool-4.5.1 → flextool-4.5.2}/flextool/process_outputs/_inmemory_helpers.py +0 -0
  438. {flextool-4.5.1 → flextool-4.5.2}/flextool/process_outputs/_output_meta.py +0 -0
  439. {flextool-4.5.1 → flextool-4.5.2}/flextool/process_outputs/_ramp_inputs.py +0 -0
  440. {flextool-4.5.1 → flextool-4.5.2}/flextool/process_outputs/_sheet_names.py +0 -0
  441. {flextool-4.5.1 → flextool-4.5.2}/flextool/process_outputs/_timeline_breaks.py +0 -0
  442. {flextool-4.5.1 → flextool-4.5.2}/flextool/process_outputs/_unit_context.py +0 -0
  443. {flextool-4.5.1 → flextool-4.5.2}/flextool/process_outputs/calc_capacity_flows.py +0 -0
  444. {flextool-4.5.1 → flextool-4.5.2}/flextool/process_outputs/calc_connections.py +0 -0
  445. {flextool-4.5.1 → flextool-4.5.2}/flextool/process_outputs/calc_costs.py +0 -0
  446. {flextool-4.5.1 → flextool-4.5.2}/flextool/process_outputs/calc_group_flows.py +0 -0
  447. {flextool-4.5.1 → flextool-4.5.2}/flextool/process_outputs/calc_piecewise.py +0 -0
  448. {flextool-4.5.1 → flextool-4.5.2}/flextool/process_outputs/calc_ramp_envelope.py +0 -0
  449. {flextool-4.5.1 → flextool-4.5.2}/flextool/process_outputs/calc_slacks.py +0 -0
  450. {flextool-4.5.1 → flextool-4.5.2}/flextool/process_outputs/calc_storage_vre.py +0 -0
  451. {flextool-4.5.1 → flextool-4.5.2}/flextool/process_outputs/drop_levels.py +0 -0
  452. {flextool-4.5.1 → flextool-4.5.2}/flextool/process_outputs/handoff_writers.py +0 -0
  453. {flextool-4.5.1 → flextool-4.5.2}/flextool/process_outputs/out_ancillary.py +0 -0
  454. {flextool-4.5.1 → flextool-4.5.2}/flextool/process_outputs/out_capacity.py +0 -0
  455. {flextool-4.5.1 → flextool-4.5.2}/flextool/process_outputs/out_costs.py +0 -0
  456. {flextool-4.5.1 → flextool-4.5.2}/flextool/process_outputs/out_flowgroup.py +0 -0
  457. {flextool-4.5.1 → flextool-4.5.2}/flextool/process_outputs/out_flows.py +0 -0
  458. {flextool-4.5.1 → flextool-4.5.2}/flextool/process_outputs/out_group.py +0 -0
  459. {flextool-4.5.1 → flextool-4.5.2}/flextool/process_outputs/out_node.py +0 -0
  460. {flextool-4.5.1 → flextool-4.5.2}/flextool/process_outputs/persist_realized_slice.py +0 -0
  461. {flextool-4.5.1 → flextool-4.5.2}/flextool/process_outputs/process_results.py +0 -0
  462. {flextool-4.5.1 → flextool-4.5.2}/flextool/process_outputs/read_highs_solution.py +0 -0
  463. {flextool-4.5.1 → flextool-4.5.2}/flextool/process_outputs/read_parameters.py +0 -0
  464. {flextool-4.5.1 → flextool-4.5.2}/flextool/process_outputs/read_sets.py +0 -0
  465. {flextool-4.5.1 → flextool-4.5.2}/flextool/process_outputs/read_variables.py +0 -0
  466. {flextool-4.5.1 → flextool-4.5.2}/flextool/process_outputs/reduced_cells.py +0 -0
  467. {flextool-4.5.1 → flextool-4.5.2}/flextool/process_outputs/solve_order.py +0 -0
  468. {flextool-4.5.1 → flextool-4.5.2}/flextool/process_outputs/spinedb_replay.py +0 -0
  469. {flextool-4.5.1 → flextool-4.5.2}/flextool/process_outputs/union_realized_slice.py +0 -0
  470. {flextool-4.5.1 → flextool-4.5.2}/flextool/process_outputs/write_outputs.py +0 -0
  471. {flextool-4.5.1 → flextool-4.5.2}/flextool/process_outputs/write_spinedb.py +0 -0
  472. {flextool-4.5.1 → flextool-4.5.2}/flextool/project_package.py +0 -0
  473. {flextool-4.5.1 → flextool-4.5.2}/flextool/representative_periods/__init__.py +0 -0
  474. {flextool-4.5.1 → flextool-4.5.2}/flextool/representative_periods/clustering.py +0 -0
  475. {flextool-4.5.1 → flextool-4.5.2}/flextool/representative_periods/force_include.py +0 -0
  476. {flextool-4.5.1 → flextool-4.5.2}/flextool/representative_periods/netload.py +0 -0
  477. {flextool-4.5.1 → flextool-4.5.2}/flextool/representative_periods/netload_inputs.py +0 -0
  478. {flextool-4.5.1 → flextool-4.5.2}/flextool/representative_periods/netload_iterate.py +0 -0
  479. {flextool-4.5.1 → flextool-4.5.2}/flextool/representative_periods/preprocess.py +0 -0
  480. {flextool-4.5.1 → flextool-4.5.2}/flextool/representative_periods/scenario_stack.py +0 -0
  481. {flextool-4.5.1 → flextool-4.5.2}/flextool/representative_periods/weights.py +0 -0
  482. {flextool-4.5.1 → flextool-4.5.2}/flextool/run_options.py +0 -0
  483. {flextool-4.5.1 → flextool-4.5.2}/flextool/run_record/__init__.py +0 -0
  484. {flextool-4.5.1 → flextool-4.5.2}/flextool/run_record/_owner.py +0 -0
  485. {flextool-4.5.1 → flextool-4.5.2}/flextool/run_record/_status.py +0 -0
  486. {flextool-4.5.1 → flextool-4.5.2}/flextool/run_record/_tee.py +0 -0
  487. {flextool-4.5.1 → flextool-4.5.2}/flextool/safe_names.py +0 -0
  488. {flextool-4.5.1 → flextool-4.5.2}/flextool/scenario_comparison/__init__.py +0 -0
  489. {flextool-4.5.1 → flextool-4.5.2}/flextool/scenario_comparison/config_builder.py +0 -0
  490. {flextool-4.5.1 → flextool-4.5.2}/flextool/scenario_comparison/constants.py +0 -0
  491. {flextool-4.5.1 → flextool-4.5.2}/flextool/scenario_comparison/data_models.py +0 -0
  492. {flextool-4.5.1 → flextool-4.5.2}/flextool/scenario_comparison/db_reader.py +0 -0
  493. {flextool-4.5.1 → flextool-4.5.2}/flextool/scenario_comparison/dispatch_data.py +0 -0
  494. {flextool-4.5.1 → flextool-4.5.2}/flextool/scenario_comparison/dispatch_mappings.py +0 -0
  495. {flextool-4.5.1 → flextool-4.5.2}/flextool/scenario_comparison/dispatch_plots.py +0 -0
  496. {flextool-4.5.1 → flextool-4.5.2}/flextool/scenario_comparison/input_entity_colors.py +0 -0
  497. {flextool-4.5.1 → flextool-4.5.2}/flextool/scenario_comparison/orchestrator.py +0 -0
  498. {flextool-4.5.1 → flextool-4.5.2}/flextool/scenario_comparison/plan_union.py +0 -0
  499. {flextool-4.5.1 → flextool-4.5.2}/flextool/scenario_comparison/plot_settings_seed.py +0 -0
  500. {flextool-4.5.1 → flextool-4.5.2}/flextool/scenario_comparison/ramp_plots.py +0 -0
  501. {flextool-4.5.1 → flextool-4.5.2}/flextool/schemas/AXIS_CONTRACT.md +0 -0
  502. {flextool-4.5.1 → flextool-4.5.2}/flextool/schemas/canonical_databases/howto_aggregate_output.json +0 -0
  503. {flextool-4.5.1 → flextool-4.5.2}/flextool/schemas/canonical_databases/howto_connections.json +0 -0
  504. {flextool-4.5.1 → flextool-4.5.2}/flextool/schemas/canonical_databases/howto_demand.json +0 -0
  505. {flextool-4.5.1 → flextool-4.5.2}/flextool/schemas/canonical_databases/howto_hydro_reservoir.json +0 -0
  506. {flextool-4.5.1 → flextool-4.5.2}/flextool/schemas/canonical_databases/howto_hydro_reservoir_with_pump.json +0 -0
  507. {flextool-4.5.1 → flextool-4.5.2}/flextool/schemas/canonical_databases/howto_non_sync_and_curtailment.json +0 -0
  508. {flextool-4.5.1 → flextool-4.5.2}/flextool/schemas/canonical_databases/howto_ramp_and_start_up.json +0 -0
  509. {flextool-4.5.1 → flextool-4.5.2}/flextool/schemas/canonical_databases/howto_stochastics.json +0 -0
  510. {flextool-4.5.1 → flextool-4.5.2}/flextool/schemas/canonical_databases/templates_examples.json +0 -0
  511. {flextool-4.5.1 → flextool-4.5.2}/flextool/schemas/canonical_databases/templates_time_settings_only.json +0 -0
  512. {flextool-4.5.1 → flextool-4.5.2}/flextool/schemas/comparison_settings_template.json +0 -0
  513. {flextool-4.5.1 → flextool-4.5.2}/flextool/schemas/default_plot_settings.yaml +0 -0
  514. {flextool-4.5.1 → flextool-4.5.2}/flextool/schemas/default_plots.yaml +0 -0
  515. {flextool-4.5.1 → flextool-4.5.2}/flextool/schemas/flextool_axis_contract.json +0 -0
  516. {flextool-4.5.1 → flextool-4.5.2}/flextool/schemas/flextool_axis_contract.schema.json +0 -0
  517. {flextool-4.5.1 → flextool-4.5.2}/flextool/schemas/old_flextool_import_template.json +0 -0
  518. {flextool-4.5.1 → flextool-4.5.2}/flextool/schemas/output_info_template.json +0 -0
  519. {flextool-4.5.1 → flextool-4.5.2}/flextool/schemas/output_settings_template.json +0 -0
  520. {flextool-4.5.1 → flextool-4.5.2}/flextool/schemas/pre_v26/flextool_template_constant_default.json +0 -0
  521. {flextool-4.5.1 → flextool-4.5.2}/flextool/schemas/pre_v26/flextool_template_default_optional_output.json +0 -0
  522. {flextool-4.5.1 → flextool-4.5.2}/flextool/schemas/pre_v26/flextool_template_default_value.json +0 -0
  523. {flextool-4.5.1 → flextool-4.5.2}/flextool/schemas/pre_v26/flextool_template_drop_down.json +0 -0
  524. {flextool-4.5.1 → flextool-4.5.2}/flextool/schemas/pre_v26/flextool_template_lifetime_method.json +0 -0
  525. {flextool-4.5.1 → flextool-4.5.2}/flextool/schemas/pre_v26/flextool_template_optional_outputs.json +0 -0
  526. {flextool-4.5.1 → flextool-4.5.2}/flextool/schemas/pre_v26/flextool_template_output_node_flows.json +0 -0
  527. {flextool-4.5.1 → flextool-4.5.2}/flextool/schemas/pre_v26/flextool_template_results_master.json +0 -0
  528. {flextool-4.5.1 → flextool-4.5.2}/flextool/schemas/pre_v26/flextool_template_rolling_start_remove.json +0 -0
  529. {flextool-4.5.1 → flextool-4.5.2}/flextool/schemas/pre_v26/flextool_template_rolling_window.json +0 -0
  530. {flextool-4.5.1 → flextool-4.5.2}/flextool/schemas/pre_v26/flextool_template_storage_binding_defaults.json +0 -0
  531. {flextool-4.5.1 → flextool-4.5.2}/flextool/schemas/pre_v26/flextool_template_v2.json +0 -0
  532. {flextool-4.5.1 → flextool-4.5.2}/flextool/schemas/pre_v26/flextool_template_v25.json +0 -0
  533. {flextool-4.5.1 → flextool-4.5.2}/flextool/schemas/spinedb_results_schema.json +0 -0
  534. {flextool-4.5.1 → flextool-4.5.2}/flextool/schemas/spinedb_schema.json +0 -0
  535. {flextool-4.5.1 → flextool-4.5.2}/flextool/solver_config/copt.opt.template +0 -0
  536. {flextool-4.5.1 → flextool-4.5.2}/flextool/solver_config/cplex.opt.template +0 -0
  537. {flextool-4.5.1 → flextool-4.5.2}/flextool/solver_config/gurobi.opt.template +0 -0
  538. {flextool-4.5.1 → flextool-4.5.2}/flextool/solver_config/highs.opt.template +0 -0
  539. {flextool-4.5.1 → flextool-4.5.2}/flextool/solver_config/xpress.opt.template +0 -0
  540. {flextool-4.5.1 → flextool-4.5.2}/flextool/spinedb_backend/__init__.py +0 -0
  541. {flextool-4.5.1 → flextool-4.5.2}/flextool/spinedb_backend/_axis_enums.py +0 -0
  542. {flextool-4.5.1 → flextool-4.5.2}/flextool/spinedb_backend/_backend.py +0 -0
  543. {flextool-4.5.1 → flextool-4.5.2}/flextool/sqlite_url.py +0 -0
  544. {flextool-4.5.1 → flextool-4.5.2}/flextool/timeline_pieces.py +0 -0
  545. {flextool-4.5.1 → flextool-4.5.2}/flextool/units_of_measure.py +0 -0
  546. {flextool-4.5.1 → flextool-4.5.2}/flextool/update_flextool/__init__.py +0 -0
  547. {flextool-4.5.1 → flextool-4.5.2}/flextool/update_flextool/bundle_install.py +0 -0
  548. {flextool-4.5.1 → flextool-4.5.2}/flextool/update_flextool/canonical_databases.py +0 -0
  549. {flextool-4.5.1 → flextool-4.5.2}/flextool/update_flextool/db_handle.py +0 -0
  550. {flextool-4.5.1 → flextool-4.5.2}/flextool/update_flextool/ensure_settings_db.py +0 -0
  551. {flextool-4.5.1 → flextool-4.5.2}/flextool/update_flextool/export_database.py +0 -0
  552. {flextool-4.5.1 → flextool-4.5.2}/flextool/update_flextool/extend_tests_fixture.py +0 -0
  553. {flextool-4.5.1 → flextool-4.5.2}/flextool/update_flextool/fixture_schema.py +0 -0
  554. {flextool-4.5.1 → flextool-4.5.2}/flextool/update_flextool/generate_canonical.py +0 -0
  555. {flextool-4.5.1 → flextool-4.5.2}/flextool/update_flextool/initialize_database.py +0 -0
  556. {flextool-4.5.1 → flextool-4.5.2}/flextool/update_flextool/install_info.py +0 -0
  557. {flextool-4.5.1 → flextool-4.5.2}/flextool/update_flextool/sync_master_json_template.py +0 -0
  558. {flextool-4.5.1 → flextool-4.5.2}/flextool/update_flextool/test_fixtures.py +0 -0
  559. {flextool-4.5.1 → flextool-4.5.2}/flextool/user_dirs.py +0 -0
  560. {flextool-4.5.1 → flextool-4.5.2}/flextool.egg-info/dependency_links.txt +0 -0
  561. {flextool-4.5.1 → flextool-4.5.2}/flextool.egg-info/entry_points.txt +0 -0
  562. {flextool-4.5.1 → flextool-4.5.2}/flextool.egg-info/requires.txt +0 -0
  563. {flextool-4.5.1 → flextool-4.5.2}/flextool.egg-info/top_level.txt +0 -0
  564. {flextool-4.5.1 → flextool-4.5.2}/flextool_assistant_entry.py +0 -0
  565. {flextool-4.5.1 → flextool-4.5.2}/flextool_run_supervisor.py +0 -0
  566. {flextool-4.5.1 → flextool-4.5.2}/setup.cfg +0 -0
  567. {flextool-4.5.1 → flextool-4.5.2}/tests/test_bar_layout.py +0 -0
  568. {flextool-4.5.1 → flextool-4.5.2}/tests/test_bar_sub_pixel_labels.py +0 -0
  569. {flextool-4.5.1 → flextool-4.5.2}/tests/test_blocks.py +0 -0
  570. {flextool-4.5.1 → flextool-4.5.2}/tests/test_branch_weights.py +0 -0
  571. {flextool-4.5.1 → flextool-4.5.2}/tests/test_child_python_safe_path.py +0 -0
  572. {flextool-4.5.1 → flextool-4.5.2}/tests/test_child_run_argv.py +0 -0
  573. {flextool-4.5.1 → flextool-4.5.2}/tests/test_ci_shard.py +0 -0
  574. {flextool-4.5.1 → flextool-4.5.2}/tests/test_color_template.py +0 -0
  575. {flextool-4.5.1 → flextool-4.5.2}/tests/test_commodity_ladder_rolling.py +0 -0
  576. {flextool-4.5.1 → flextool-4.5.2}/tests/test_comparison_excel.py +0 -0
  577. {flextool-4.5.1 → flextool-4.5.2}/tests/test_comparison_project_root.py +0 -0
  578. {flextool-4.5.1 → flextool-4.5.2}/tests/test_comparison_results_registry.py +0 -0
  579. {flextool-4.5.1 → flextool-4.5.2}/tests/test_complete_period_share_reduction.py +0 -0
  580. {flextool-4.5.1 → flextool-4.5.2}/tests/test_connection_node_warnings.py +0 -0
  581. {flextool-4.5.1 → flextool-4.5.2}/tests/test_console_run_tool.py +0 -0
  582. {flextool-4.5.1 → flextool-4.5.2}/tests/test_cost_aggregation_semantics.py +0 -0
  583. {flextool-4.5.1 → flextool-4.5.2}/tests/test_cost_breakdown_by_entity.py +0 -0
  584. {flextool-4.5.1 → flextool-4.5.2}/tests/test_csv_dump_roundtrip.py +0 -0
  585. {flextool-4.5.1 → flextool-4.5.2}/tests/test_dc_power_flow.py +0 -0
  586. {flextool-4.5.1 → flextool-4.5.2}/tests/test_dependency_caps.py +0 -0
  587. {flextool-4.5.1 → flextool-4.5.2}/tests/test_dispatch_consumer_and_connection_signs.py +0 -0
  588. {flextool-4.5.1 → flextool-4.5.2}/tests/test_dispatch_multi_period.py +0 -0
  589. {flextool-4.5.1 → flextool-4.5.2}/tests/test_dispatch_node_debug_and_tree.py +0 -0
  590. {flextool-4.5.1 → flextool-4.5.2}/tests/test_dispatch_order_specials.py +0 -0
  591. {flextool-4.5.1 → flextool-4.5.2}/tests/test_dispatch_scenario_tag.py +0 -0
  592. {flextool-4.5.1 → flextool-4.5.2}/tests/test_ensure_settings_db.py +0 -0
  593. {flextool-4.5.1 → flextool-4.5.2}/tests/test_entity_unitsize_invariant.py +0 -0
  594. {flextool-4.5.1 → flextool-4.5.2}/tests/test_entity_universe_carrier.py +0 -0
  595. {flextool-4.5.1 → flextool-4.5.2}/tests/test_env_check.py +0 -0
  596. {flextool-4.5.1 → flextool-4.5.2}/tests/test_env_knob_registry.py +0 -0
  597. {flextool-4.5.1 → flextool-4.5.2}/tests/test_excel_text_cells.py +0 -0
  598. {flextool-4.5.1 → flextool-4.5.2}/tests/test_export_to_tabular.py +0 -0
  599. {flextool-4.5.1 → flextool-4.5.2}/tests/test_extend_tests_fixture.py +0 -0
  600. {flextool-4.5.1 → flextool-4.5.2}/tests/test_flowgroup_indicators.py +0 -0
  601. {flextool-4.5.1 → flextool-4.5.2}/tests/test_force_include.py +0 -0
  602. {flextool-4.5.1 → flextool-4.5.2}/tests/test_group_output_warnings.py +0 -0
  603. {flextool-4.5.1 → flextool-4.5.2}/tests/test_handoff_writers.py +0 -0
  604. {flextool-4.5.1 → flextool-4.5.2}/tests/test_input_entity_colors.py +0 -0
  605. {flextool-4.5.1 → flextool-4.5.2}/tests/test_lean_parquet.py +0 -0
  606. {flextool-4.5.1 → flextool-4.5.2}/tests/test_lh2_three_region.py +0 -0
  607. {flextool-4.5.1 → flextool-4.5.2}/tests/test_min_load_rolling.py +0 -0
  608. {flextool-4.5.1 → flextool-4.5.2}/tests/test_model_builder_invest.py +0 -0
  609. {flextool-4.5.1 → flextool-4.5.2}/tests/test_model_builder_special_functions.py +0 -0
  610. {flextool-4.5.1 → flextool-4.5.2}/tests/test_non_anticipativity.py +0 -0
  611. {flextool-4.5.1 → flextool-4.5.2}/tests/test_old_flextool_importer_schema_drift.py +0 -0
  612. {flextool-4.5.1 → flextool-4.5.2}/tests/test_open_results_db.py +0 -0
  613. {flextool-4.5.1 → flextool-4.5.2}/tests/test_output_column_metadata.py +0 -0
  614. {flextool-4.5.1 → flextool-4.5.2}/tests/test_output_csv_names.py +0 -0
  615. {flextool-4.5.1 → flextool-4.5.2}/tests/test_output_metadata_renderers.py +0 -0
  616. {flextool-4.5.1 → flextool-4.5.2}/tests/test_output_work_folder_isolation.py +0 -0
  617. {flextool-4.5.1 → flextool-4.5.2}/tests/test_parameter_group_coverage.py +0 -0
  618. {flextool-4.5.1 → flextool-4.5.2}/tests/test_period_share_of_year_output.py +0 -0
  619. {flextool-4.5.1 → flextool-4.5.2}/tests/test_piecewise_validation.py +0 -0
  620. {flextool-4.5.1 → flextool-4.5.2}/tests/test_plan_union.py +0 -0
  621. {flextool-4.5.1 → flextool-4.5.2}/tests/test_plot_draw_order.py +0 -0
  622. {flextool-4.5.1 → flextool-4.5.2}/tests/test_plot_gaps.py +0 -0
  623. {flextool-4.5.1 → flextool-4.5.2}/tests/test_plot_pipeline.py +0 -0
  624. {flextool-4.5.1 → flextool-4.5.2}/tests/test_plot_plan_chunk_reconstruction.py +0 -0
  625. {flextool-4.5.1 → flextool-4.5.2}/tests/test_plot_plan_time_labels_roundtrip.py +0 -0
  626. {flextool-4.5.1 → flextool-4.5.2}/tests/test_plot_settings_seed.py +0 -0
  627. {flextool-4.5.1 → flextool-4.5.2}/tests/test_project_package_cli.py +0 -0
  628. {flextool-4.5.1 → flextool-4.5.2}/tests/test_ramp_histogram.py +0 -0
  629. {flextool-4.5.1 → flextool-4.5.2}/tests/test_read_highs_solution.py +0 -0
  630. {flextool-4.5.1 → flextool-4.5.2}/tests/test_recourse_cost_reconciliation.py +0 -0
  631. {flextool-4.5.1 → flextool-4.5.2}/tests/test_regional_filter.py +0 -0
  632. {flextool-4.5.1 → flextool-4.5.2}/tests/test_representative_periods.py +0 -0
  633. {flextool-4.5.1 → flextool-4.5.2}/tests/test_rolling_online_carry.py +0 -0
  634. {flextool-4.5.1 → flextool-4.5.2}/tests/test_rolling_online_mintime_carry.py +0 -0
  635. {flextool-4.5.1 → flextool-4.5.2}/tests/test_rolling_online_minuptime.py +0 -0
  636. {flextool-4.5.1 → flextool-4.5.2}/tests/test_rp_alternative_name.py +0 -0
  637. {flextool-4.5.1 → flextool-4.5.2}/tests/test_rp_force_include_wiring.py +0 -0
  638. {flextool-4.5.1 → flextool-4.5.2}/tests/test_rp_solves_filter.py +0 -0
  639. {flextool-4.5.1 → flextool-4.5.2}/tests/test_run_options.py +0 -0
  640. {flextool-4.5.1 → flextool-4.5.2}/tests/test_safe_names.py +0 -0
  641. {flextool-4.5.1 → flextool-4.5.2}/tests/test_safe_text.py +0 -0
  642. {flextool-4.5.1 → flextool-4.5.2}/tests/test_scenario_colors.py +0 -0
  643. {flextool-4.5.1 → flextool-4.5.2}/tests/test_scenario_stack.py +0 -0
  644. {flextool-4.5.1 → flextool-4.5.2}/tests/test_scenarios.py +0 -0
  645. {flextool-4.5.1 → flextool-4.5.2}/tests/test_self_describing_reader.py +0 -0
  646. {flextool-4.5.1 → flextool-4.5.2}/tests/test_shared_axis_manifest.py +0 -0
  647. {flextool-4.5.1 → flextool-4.5.2}/tests/test_simple_bar_entity_color.py +0 -0
  648. {flextool-4.5.1 → flextool-4.5.2}/tests/test_solve_config.py +0 -0
  649. {flextool-4.5.1 → flextool-4.5.2}/tests/test_solve_reader.py +0 -0
  650. {flextool-4.5.1 → flextool-4.5.2}/tests/test_sqlite_url.py +0 -0
  651. {flextool-4.5.1 → flextool-4.5.2}/tests/test_stream_concat_temp_cleanup.py +0 -0
  652. {flextool-4.5.1 → flextool-4.5.2}/tests/test_support_load.py +0 -0
  653. {flextool-4.5.1 → flextool-4.5.2}/tests/test_synthesize_invest_dual.py +0 -0
  654. {flextool-4.5.1 → flextool-4.5.2}/tests/test_thread_budget.py +0 -0
  655. {flextool-4.5.1 → flextool-4.5.2}/tests/test_time_runs.py +0 -0
  656. {flextool-4.5.1 → flextool-4.5.2}/tests/test_timeline_breaks.py +0 -0
  657. {flextool-4.5.1 → flextool-4.5.2}/tests/test_timings_csv.py +0 -0
  658. {flextool-4.5.1 → flextool-4.5.2}/tests/test_toolbox_specs.py +0 -0
  659. {flextool-4.5.1 → flextool-4.5.2}/tests/test_unidirectional_connection.py +0 -0
  660. {flextool-4.5.1 → flextool-4.5.2}/tests/test_unit_online_dt_columns.py +0 -0
  661. {flextool-4.5.1 → flextool-4.5.2}/tests/test_units_of_measure.py +0 -0
  662. {flextool-4.5.1 → flextool-4.5.2}/tests/test_units_of_measure_validators.py +0 -0
  663. {flextool-4.5.1 → flextool-4.5.2}/tests/test_user_dirs_isolation.py +0 -0
  664. {flextool-4.5.1 → flextool-4.5.2}/tests/test_v52_migration.py +0 -0
  665. {flextool-4.5.1 → flextool-4.5.2}/tests/test_v63_migration.py +0 -0
  666. {flextool-4.5.1 → flextool-4.5.2}/tests/test_v64_migration.py +0 -0
  667. {flextool-4.5.1 → flextool-4.5.2}/tests/test_v65_migration.py +0 -0
  668. {flextool-4.5.1 → flextool-4.5.2}/tests/test_v66_migration.py +0 -0
  669. {flextool-4.5.1 → flextool-4.5.2}/tests/test_v67_migration.py +0 -0
  670. {flextool-4.5.1 → flextool-4.5.2}/tests/test_v68_migration.py +0 -0
  671. {flextool-4.5.1 → flextool-4.5.2}/tests/test_v69_migration.py +0 -0
  672. {flextool-4.5.1 → flextool-4.5.2}/tests/test_v70_migration.py +0 -0
  673. {flextool-4.5.1 → flextool-4.5.2}/tests/test_workdir_empty_default.py +0 -0
  674. {flextool-4.5.1 → flextool-4.5.2}/tests/test_xlsx_startup_input_round_trip.py +0 -0
  675. {flextool-4.5.1 → flextool-4.5.2}/tests/test_xlsx_v77_round_trip.py +0 -0
  676. {flextool-4.5.1 → flextool-4.5.2}/tests/test_xlsx_workflow.py +0 -0
  677. {flextool-4.5.1 → flextool-4.5.2}/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.1
3
+ Version: 4.5.2
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
@@ -909,6 +909,7 @@ dialogs/ Add / project / plot / file-picker dialogs.
909
909
  |---|---|
910
910
  | `self_update.py` (`update_flextool`) | `git pull` + project-side migration. |
911
911
  | `db_migration.py` (`migrate_database`) | Walk the version chain to the current `FLEXTOOL_DB_VERSION`. |
912
+ | `migration_backup.py` | The pre-migration copy (`<db>.premigration.bak`) and its atomic restore on failure; shared by `migrate_database` and the window's upgrade. |
912
913
  | `initialize_database.py` (`initialize_database`) | Create new DB from JSON template. |
913
914
  | `ensure_settings_db.py` | Idempotent settings-DB creation. |
914
915
  | `test_fixtures.py` | Migrate `tests/fixtures/*.json` to current schema and sync their schema sections. |
@@ -62,7 +62,7 @@ Right-click a row for the same actions as the buttons. Column headers sort the l
62
62
 
63
63
  ### Migration and frozen databases
64
64
 
65
- When the list is refreshed, a `.sqlite` source older than this FlexTool (or at the current version but with an older SpineDB schema, e.g. after a `spinedb_api` update) is migrated to the current version: a source in `input_sources/` without asking (a safety copy is kept until the migration has finished), an external reference after asking whether to migrate it in place or copy it into the project first. Checking the version reads the file read-only, so nothing in the file changes before you agree. Adding scenarios to the execution list, or opening **Calibrate investments**, checks their sources again and migrates any that changed since the last refresh; FlexTool does not run a database that is not at the current version.
65
+ When the list is refreshed, a `.sqlite` source older than this FlexTool (or at the current version but with an older SpineDB schema, e.g. after a `spinedb_api` update) is migrated to the current version: a source in `input_sources/` without asking (a safety copy, `<source>.premigration.bak`, is kept until the migration has finished and put back if it fails, so the source is either migrated or as it was; see [Migrate database schema](terminal_workflow.md#migrate-database-schema)), an external reference after asking whether to migrate it in place or copy it into the project first. Checking the version reads the file read-only, so nothing in the file changes before you agree. Adding scenarios to the execution list, or opening **Calibrate investments**, checks their sources again and migrates any that changed since the last refresh; FlexTool does not run a database that is not at the current version.
66
66
 
67
67
  A released model can be **frozen** so that it is never migrated in place without asking: right-click a `.sqlite` source → **Freeze database…** and give a label, e.g. `Reference case 1.0` (at most 170 characters). Only a database at the current version can be frozen. A frozen source shows ❄ in the status column; the tooltip shows the label, the version and the date it was frozen. **Unfreeze database** removes the marker. The same can be done in a terminal with `flextool-freeze` (see [Freeze a released database](terminal_workflow.md#freeze-a-released-database)).
68
68
 
@@ -134,7 +134,7 @@ If you installed from a zip file, download the latest zip, extract it over the e
134
134
  python update_flextool.py --skip-git
135
135
  ```
136
136
 
137
- `update_flextool.py` brings the databases to the current schema version without destroying data (a backup is still good practice):
137
+ `update_flextool.py` brings the databases to the current schema version without destroying data: each database is copied before it is migrated and put back if the migration fails (see [Migrate database schema](terminal_workflow.md#migrate-database-schema)); a backup of your own is still good practice:
138
138
 
139
139
  - it migrates the database selected as **Input data** in the project, `input_data.sqlite` and `templates/input_data_template.sqlite`;
140
140
  - it rebuilds the example databases (`templates/examples.sqlite`, `templates/time_settings_only.sqlite` and the databases in `how to example databases/`) from the current templates.
@@ -495,6 +495,8 @@ flextool-migrate-database input.sqlite
495
495
  | `--copy-to PATH` | Copy the database to `PATH` and migrate the copy; the original is not changed. For a frozen database. |
496
496
  | `--allow-migrate-frozen` | Migrate a frozen database in place; its frozen marker is kept with the new version. |
497
497
 
498
+ A migration is all or nothing. Before the first step it copies the database to `<database>.premigration.bak` in the same folder, so that folder needs free space as large as the database (without it the database is not migrated, and the message says so). When a step fails or the migration is cancelled (Ctrl+C), that copy is moved back over the database in one rename, so the database is exactly as it was; after a completed migration the copy is deleted. The same holds for `flextool-run --migrate`, `execute_flextool_workflow.py`, `flextool-update` and the FlexTool window. Only a migration that is killed outright, or a restore that fails, leaves the copy: the console names it and says how to put it back (close the programs that use the database, delete the database and rename the `.premigration.bak` file to the database's name). The next migration of that database refuses to start while the copy is there (the commands exit with code 1), names the copy and when it was made, and says how to go on, so the original is never overwritten: put the copy back as above, or delete it once the database is known to be good. A database already at the current version has nothing to migrate and is not held up by a leftover copy. On Windows, when another program holds the database open, the copy is written over it instead of renamed (the console says so).
499
+
498
500
  The model run (`flextool-run`, `run_flextool.py`, `python -m flextool.cli.cmd_run_flextool`) does not run a database that is not at the current FlexTool version: it stops with a message naming this command. With `--migrate` it migrates the database first, the same way as this command: a frozen database is not migrated, and the run stops with the frozen message and exit code 2. Runs started at the same time with `--migrate` on one database migrate it once: the migration holds a lock on `<database>.migrate.lock` next to the database (the file stays there; it can be deleted when no run is starting), and the other runs print "Waiting for another migration of <database> ...", wait for it and then find the database current. Every in-place migration takes this lock: this command, the Toolbox **Migrate database** tool, the FlexTool window's refresh, `--migrate` and `execute_flextool_workflow.py`. A database that is already current does not wait for the lock and gets no lock file. On Windows a run waits for the lock at most 10 minutes (set `FLEXTOOL_MIGRATION_LOCK_TIMEOUT` to a number of seconds to change it; it is not read on Linux or macOS) and then stops with a message naming the lock file. A file system without file locks (some network mounts) stops the migration with a message: copy the database to a local folder. On a network folder that several machines share, the lock may only coordinate runs on one machine (CIFS, NFS mounted with `local_lock`): start the migration from one machine first. The settings databases (`--settings-db-url`, the output database) are not migrated. `execute_flextool_workflow.py` migrates the input database before it runs the model, the FlexTool window migrates its input sources when it refreshes them, and the Spine Toolbox workflow runs its **Migrate database** tool before FlexTool.
499
501
 
500
502
  A frozen database older than this FlexTool (or at the current version but with an older SpineDB schema) is refused with exit code 2 and a message naming the two options: `--copy-to NEW.sqlite` migrates a copy (the copy is not frozen; it records the label, the old version and the SHA-256 of the frozen file it was made from) and `--allow-migrate-frozen` migrates the frozen file itself. A frozen database that is already current, or newer than this FlexTool, is left unchanged, also with `--allow-migrate-frozen`. If FlexTool cannot read the file to check for the marker (another program holds a lock on it), it does not migrate it and says so. `flextool-update` skips frozen databases and lists them, and `execute_flextool_workflow.py` stops on one.
@@ -10,6 +10,7 @@ import sys
10
10
  from flextool._file_lock import FileLockError
11
11
  from flextool.update_flextool.db_migration import migrate_database
12
12
  from flextool.update_flextool.frozen import FrozenDatabaseError, migrate_copy, read_frozen, sqlite_path_from
13
+ from flextool.update_flextool.migration_backup import MigrationBackupError, MigrationRestoreError
13
14
 
14
15
  #: The exit code of a refused frozen database.
15
16
  EXIT_FROZEN = 2
@@ -55,6 +56,11 @@ def main(argv: list[str] | None = None) -> int:
55
56
  except FileLockError as exc:
56
57
  print(f"The database was not migrated: {exc}", file=sys.stderr)
57
58
  return 1
59
+ except (MigrationBackupError, MigrationRestoreError) as exc:
60
+ # Not migrated (a kept copy, no room for the copy), or failed and not restored (the copy is kept): the
61
+ # message says what to do.
62
+ print(str(exc), file=sys.stderr)
63
+ return 1
58
64
  if args.allow_migrate_frozen:
59
65
  path = sqlite_path_from(args.filepath)
60
66
  info = read_frozen(path) if path is not None else None
@@ -1131,10 +1131,12 @@ EXIT_FROZEN = 2
1131
1131
 
1132
1132
 
1133
1133
  def _migrate_input_or_exit(input_db_url: str) -> None:
1134
- """Migrate the input database for ``--migrate`` (once across parallel runs); exit 2 on a frozen database."""
1134
+ """Migrate the input database for ``--migrate`` (once across parallel runs); exit 2 on a frozen database, 1 when it
1135
+ was not migrated (lock, kept or impossible pre-migration copy) or could not be restored after a failure."""
1135
1136
  from flextool._file_lock import FileLockError
1136
1137
  from flextool.update_flextool.frozen import FrozenDatabaseError
1137
1138
  from flextool.update_flextool.migrate_before_run import migrate_before_run
1139
+ from flextool.update_flextool.migration_backup import MigrationBackupError, MigrationRestoreError
1138
1140
 
1139
1141
  try:
1140
1142
  migrate_before_run(input_db_url)
@@ -1144,6 +1146,9 @@ def _migrate_input_or_exit(input_db_url: str) -> None:
1144
1146
  except FileLockError as exc:
1145
1147
  print(f"The input database was not migrated: {exc}", file=sys.stderr, flush=True)
1146
1148
  sys.exit(1)
1149
+ except (MigrationBackupError, MigrationRestoreError) as exc:
1150
+ print(str(exc), file=sys.stderr, flush=True)
1151
+ sys.exit(1)
1147
1152
 
1148
1153
 
1149
1154
  def _run_scenario(*, args, run_options, rec, scenario_name, work_folder, output_path, output_location,
@@ -1,4 +1,6 @@
1
1
  import argparse
2
+ import sys
3
+
2
4
  from flextool.update_flextool.self_update import update_flextool
3
5
 
4
6
 
@@ -10,8 +12,8 @@ def main():
10
12
  help="skip 'git restore' and 'git pull' steps",
11
13
  )
12
14
  args = arg_parser.parse_args()
13
- update_flextool(args.skip_git)
15
+ return update_flextool(args.skip_git)
14
16
 
15
17
 
16
18
  if __name__ == "__main__":
17
- main()
19
+ sys.exit(main())
@@ -8,43 +8,32 @@ as human-readable messages so the GUI never crashes.
8
8
  from __future__ import annotations
9
9
 
10
10
  import logging
11
- import shutil
12
11
  from pathlib import Path
13
12
  from typing import Callable
14
13
 
15
14
  from flextool.update_flextool import FLEXTOOL_DB_VERSION
16
15
  from flextool.update_flextool.db_migration import MigrationCancelled
17
16
  from flextool.sqlite_url import sqlite_url_string
17
+ from flextool.update_flextool.migration_backup import (
18
+ MigrationBackupError,
19
+ backup_path,
20
+ kept_copy_error,
21
+ make_backup,
22
+ recovery_text,
23
+ remove_backup,
24
+ restore_from_backup,
25
+ )
18
26
 
19
27
  logger = logging.getLogger(__name__)
20
28
 
21
29
  ISSUE_TRACKER_URL = "https://github.com/irena-flextool/flextool/issues"
22
30
 
23
31
 
24
- def _backup_path(db_path: Path) -> Path:
25
- """Return the sidecar path used to hold the pre-migration backup."""
26
- return db_path.with_name(db_path.name + ".premigration.bak")
27
-
28
-
29
- def _restore_from_backup(db_path: Path, backup: Path) -> bool:
30
- """Restore *db_path* from *backup*, returning ``True`` on success.
31
-
32
- Removes any stale SQLite ``-wal`` / ``-shm`` sidecars first so the
33
- restored main file is not shadowed by a write-ahead log left behind
34
- by the aborted migration.
35
- """
36
- try:
37
- for suffix in ("-wal", "-shm"):
38
- side = db_path.with_name(db_path.name + suffix)
39
- if side.exists():
40
- side.unlink()
41
- shutil.copy2(backup, db_path)
42
- return True
43
- except Exception:
44
- logger.error(
45
- "Failed to restore %s from backup %s", db_path, backup, exc_info=True
46
- )
47
- return False
32
+ def _recovery(db_path: Path, backup: Path | None) -> str:
33
+ """How to recover the original database, when its pre-migration copy is kept."""
34
+ if backup is not None and backup.exists():
35
+ return recovery_text(db_path, backup)
36
+ return "Restore it from your own backup."
48
37
 
49
38
 
50
39
  def _read_flextool_version(db_url: str) -> int | None:
@@ -164,6 +153,14 @@ def check_and_upgrade_database(
164
153
  return False
165
154
  return True
166
155
 
156
+ # A pre-migration copy left by an earlier migration may be the only intact original; the file itself may be half
157
+ # migrated or truncated (then even the frozen check cannot read it). Name the copy first; a current file has
158
+ # nothing to migrate and is left alone.
159
+ kept = backup_path(Path(db_path))
160
+ if kept.exists() and not is_current_ro(db_path):
161
+ messages.append(str(kept_copy_error(Path(db_path), kept)))
162
+ return was_upgraded, True, messages
163
+
167
164
  try:
168
165
  frozen_guard(db_path, allow_frozen=allow_frozen)
169
166
  except FrozenCheckError:
@@ -212,19 +209,21 @@ def _upgrade_locked(
212
209
  schema_current = False
213
210
 
214
211
  backup: Path | None = None
212
+ backup_error = ""
213
+ completed = False
215
214
 
216
215
  def _ensure_backup() -> bool:
217
216
  """Take the pre-migration backup once; return ``True`` if available."""
218
- nonlocal backup
217
+ nonlocal backup, backup_error
219
218
  if backup is not None:
220
219
  return True
221
- candidate = _backup_path(db_path)
222
220
  try:
223
- shutil.copy2(db_path, candidate)
224
- backup = candidate
225
- logger.info("Pre-migration backup written: %s", candidate)
221
+ backup = make_backup(db_path)
226
222
  return True
227
- except Exception:
223
+ except Exception as exc:
224
+ backup_error = (str(exc) if isinstance(exc, MigrationBackupError) else
225
+ f"{db_path.name} was not migrated: its pre-migration copy could not be made ({exc}). "
226
+ "The database is unchanged.")
228
227
  logger.error("Could not create migration backup for %s", db_path, exc_info=True)
229
228
  return False
230
229
 
@@ -232,10 +231,7 @@ def _upgrade_locked(
232
231
  # ── Step 1: SpineDB API schema upgrade ─────────────────────
233
232
  if not schema_current:
234
233
  if not _ensure_backup():
235
- messages.append(
236
- f"{db_path.name}: could not create a safety backup before "
237
- f"upgrading; the database was left untouched."
238
- )
234
+ messages.append(backup_error)
239
235
  return was_upgraded, True, messages
240
236
  with open_database_mapping(db_url, create=False, upgrade=True):
241
237
  pass
@@ -247,16 +243,15 @@ def _upgrade_locked(
247
243
  version_before = _read_flextool_version(db_url)
248
244
  if version_before is not None and version_before < FLEXTOOL_DB_VERSION:
249
245
  if not _ensure_backup():
250
- messages.append(
251
- f"{db_path.name}: could not create a safety backup before "
252
- f"migrating; the database was left untouched."
253
- )
246
+ messages.append(backup_error)
254
247
  return was_upgraded, True, messages
255
248
 
256
249
  from flextool.update_flextool.db_migration import migrate_database
257
250
 
251
+ # The backup above covers the whole upgrade (and its messages); no second copy.
258
252
  migrate_database(
259
253
  str(db_path),
254
+ backup=False,
260
255
  progress_callback=progress_callback,
261
256
  cancel_check=cancel_check,
262
257
  allow_frozen=allow_frozen,
@@ -275,10 +270,11 @@ def _upgrade_locked(
275
270
  version_before,
276
271
  version_after,
277
272
  )
273
+ completed = True
278
274
 
279
275
  except MigrationCancelled:
280
276
  was_upgraded = False
281
- if backup is not None and _restore_from_backup(db_path, backup):
277
+ if backup is not None and restore_from_backup(db_path, backup):
282
278
  messages.append(
283
279
  f"{db_path.name}: migration cancelled — the database was "
284
280
  f"restored to its original state. Re-run to migrate it."
@@ -287,8 +283,8 @@ def _upgrade_locked(
287
283
  failed = True
288
284
  messages.append(
289
285
  f"{db_path.name}: migration cancelled, but the database could "
290
- f"NOT be restored automatically. Do not use it; restore it "
291
- f"from your own backup and report this at {ISSUE_TRACKER_URL}."
286
+ f"NOT be restored automatically. Do not use it. "
287
+ f"{_recovery(db_path, backup)} Please report this at {ISSUE_TRACKER_URL}."
292
288
  )
293
289
  logger.info("FlexTool migration cancelled for %s", db_path)
294
290
 
@@ -297,7 +293,7 @@ def _upgrade_locked(
297
293
  tb_text = _tb.format_exc()
298
294
  was_upgraded = False
299
295
  failed = True
300
- if backup is not None and _restore_from_backup(db_path, backup):
296
+ if backup is not None and restore_from_backup(db_path, backup):
301
297
  messages.append(
302
298
  f"{db_path.name}: migration FAILED — the database was restored "
303
299
  f"to its original state, so it is safe to keep using the "
@@ -308,18 +304,20 @@ def _upgrade_locked(
308
304
  else:
309
305
  messages.append(
310
306
  f"{db_path.name}: migration FAILED and the database could NOT be "
311
- f"restored automatically. Do not use it; restore it from your "
312
- f"own backup. Please report this at {ISSUE_TRACKER_URL}: copy the "
307
+ f"restored automatically. Do not use it. {_recovery(db_path, backup)} "
308
+ f"Please report this at {ISSUE_TRACKER_URL}: copy the "
313
309
  f"traceback below and, if possible, share the database file."
314
310
  f"\n\nError: {exc}\n\nTraceback:\n{tb_text}"
315
311
  )
316
312
  logger.warning("FlexTool migration failed for %s: %s", db_path, exc, exc_info=True)
317
313
 
318
314
  finally:
315
+ # After an upgrade the copy goes; after a restore it is gone already (moved back). Otherwise (the restore
316
+ # failed, or an interruption) it is kept: it is the original.
319
317
  if backup is not None:
320
- try:
321
- backup.unlink(missing_ok=True)
322
- except Exception:
323
- logger.debug("Could not remove migration backup %s", backup, exc_info=True)
318
+ if completed:
319
+ remove_backup(backup)
320
+ elif backup.exists():
321
+ print(recovery_text(db_path, backup), flush=True)
324
322
 
325
323
  return was_upgraded, failed, messages