flextool 4.6.1__tar.gz → 4.6.3__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (725) hide show
  1. {flextool-4.6.1/flextool.egg-info → flextool-4.6.3}/PKG-INFO +1 -1
  2. {flextool-4.6.1 → flextool-4.6.3}/docs/dev/architecture.md +5 -0
  3. {flextool-4.6.1 → flextool-4.6.3}/docs/flextool_gui_interface.md +28 -3
  4. {flextool-4.6.1 → flextool-4.6.3}/docs/how_to/basics.md +1 -1
  5. {flextool-4.6.1 → flextool-4.6.3}/docs/how_to/performance.md +1 -1
  6. {flextool-4.6.1 → flextool-4.6.3}/docs/install_gui.md +1 -1
  7. {flextool-4.6.1 → flextool-4.6.3}/docs/reference/connections.md +6 -3
  8. {flextool-4.6.1 → flextool-4.6.3}/docs/reference/groups.md +1 -1
  9. {flextool-4.6.1 → flextool-4.6.3}/docs/terminal_workflow.md +56 -0
  10. flextool-4.6.3/flextool/cli/cmd_repair_value_list.py +403 -0
  11. {flextool-4.6.1 → flextool-4.6.3}/flextool/engine/_behaviour_changes.py +4 -4
  12. {flextool-4.6.1 → flextool-4.6.3}/flextool/engine/model/_balance_terms.py +14 -4
  13. {flextool-4.6.1 → flextool-4.6.3}/flextool/engine/model/_cumulative_invest.py +11 -9
  14. {flextool-4.6.1 → flextool-4.6.3}/flextool/engine/model/_dc_power_flow.py +38 -5
  15. {flextool-4.6.1 → flextool-4.6.3}/flextool/engine/model/_group_slack.py +13 -7
  16. {flextool-4.6.1 → flextool-4.6.3}/flextool/engine/model/_reserve.py +49 -17
  17. {flextool-4.6.1 → flextool-4.6.3}/flextool/engine/model/core.py +35 -0
  18. {flextool-4.6.1 → flextool-4.6.3}/flextool/engine/preprocess/emit/_period_params.py +10 -1
  19. {flextool-4.6.1 → flextool-4.6.3}/flextool/engine/preprocess/flex_data.py +3 -0
  20. {flextool-4.6.1 → flextool-4.6.3}/flextool/engine/preprocess/params/_derived.py +84 -4
  21. {flextool-4.6.1 → flextool-4.6.3}/flextool/engine/preprocess/params/_direct.py +36 -7
  22. {flextool-4.6.1 → flextool-4.6.3}/flextool/engine/solve/_benders.py +72 -21
  23. {flextool-4.6.1 → flextool-4.6.3}/flextool/engine/solve/_orchestration.py +24 -22
  24. {flextool-4.6.1 → flextool-4.6.3}/flextool/engine/solve/_region_filter.py +110 -6
  25. {flextool-4.6.1 → flextool-4.6.3}/flextool/engine/solve/_run_model.py +3 -0
  26. {flextool-4.6.1 → flextool-4.6.3}/flextool/engine/solve/_solver_outcome.py +15 -8
  27. {flextool-4.6.1 → flextool-4.6.3}/flextool/env_check.py +14 -13
  28. {flextool-4.6.1 → flextool-4.6.3}/flextool/gui/assistant/entry.py +7 -4
  29. {flextool-4.6.1 → flextool-4.6.3}/flextool/gui/assistant/notices.py +27 -228
  30. flextool-4.6.3/flextool/gui/dialogs/_modal_base.py +301 -0
  31. {flextool-4.6.1 → flextool-4.6.3}/flextool/gui/dialogs/add_dialog.py +171 -220
  32. {flextool-4.6.1 → flextool-4.6.3}/flextool/gui/dialogs/group_picker.py +3 -6
  33. {flextool-4.6.1 → flextool-4.6.3}/flextool/gui/dialogs/local_solver_settings_dialog.py +9 -5
  34. flextool-4.6.3/flextool/gui/dialogs/message_box.py +199 -0
  35. flextool-4.6.3/flextool/gui/dialogs/message_list_window.py +451 -0
  36. flextool-4.6.3/flextool/gui/dialogs/migration_consent_dialog.py +101 -0
  37. {flextool-4.6.1 → flextool-4.6.3}/flextool/gui/dialogs/plot_dialog.py +7 -16
  38. {flextool-4.6.1 → flextool-4.6.3}/flextool/gui/dialogs/project_dialog.py +39 -145
  39. {flextool-4.6.1 → flextool-4.6.3}/flextool/gui/dialogs/project_package_dialog.py +6 -3
  40. flextool-4.6.3/flextool/gui/error_handling.py +33 -0
  41. {flextool-4.6.1 → flextool-4.6.3}/flextool/gui/execution_window.py +7 -6
  42. {flextool-4.6.1 → flextool-4.6.3}/flextool/gui/hover_tooltip.py +13 -0
  43. {flextool-4.6.1 → flextool-4.6.3}/flextool/gui/input_sources.py +98 -19
  44. {flextool-4.6.1 → flextool-4.6.3}/flextool/gui/main_window.py +563 -389
  45. flextool-4.6.3/flextool/gui/message_sources.py +372 -0
  46. flextool-4.6.3/flextool/gui/messages.py +480 -0
  47. {flextool-4.6.1 → flextool-4.6.3}/flextool/gui/project_utils.py +14 -0
  48. {flextool-4.6.1 → flextool-4.6.3}/flextool/gui/settings_io.py +8 -6
  49. {flextool-4.6.1 → flextool-4.6.3}/flextool/process_inputs/__init__.py +4 -7
  50. {flextool-4.6.1 → flextool-4.6.3}/flextool/run_warnings/__init__.py +2 -1
  51. {flextool-4.6.1 → flextool-4.6.3}/flextool/run_warnings/_engine_specs.py +51 -2
  52. {flextool-4.6.1 → flextool-4.6.3}/flextool/run_warnings/_input_specs.py +65 -3
  53. {flextool-4.6.1 → flextool-4.6.3}/flextool/run_warnings/registry.py +10 -4
  54. {flextool-4.6.1 → flextool-4.6.3}/flextool/update_flextool/db_migration.py +52 -9
  55. {flextool-4.6.1 → flextool-4.6.3}/flextool/update_flextool/frozen.py +4 -3
  56. {flextool-4.6.1 → flextool-4.6.3}/flextool/update_flextool/install_info.py +14 -9
  57. flextool-4.6.3/flextool/update_flextool/list_default_repair.py +138 -0
  58. flextool-4.6.3/flextool/update_flextool/list_default_restore.py +335 -0
  59. flextool-4.6.3/flextool/update_flextool/value_list_answers.py +323 -0
  60. flextool-4.6.3/flextool/update_flextool/value_list_archive.py +260 -0
  61. flextool-4.6.3/flextool/update_flextool/value_list_history.py +290 -0
  62. flextool-4.6.3/flextool/update_flextool/value_list_repair.py +273 -0
  63. flextool-4.6.3/flextool/update_flextool/value_list_suspects.py +335 -0
  64. flextool-4.6.3/flextool/update_flextool/value_list_write.py +391 -0
  65. {flextool-4.6.1 → flextool-4.6.3/flextool.egg-info}/PKG-INFO +1 -1
  66. {flextool-4.6.1 → flextool-4.6.3}/flextool.egg-info/SOURCES.txt +14 -0
  67. {flextool-4.6.1 → flextool-4.6.3}/flextool.egg-info/entry_points.txt +1 -0
  68. {flextool-4.6.1 → flextool-4.6.3}/pyproject.toml +2 -1
  69. flextool-4.6.1/flextool/gui/dialogs/migration_consent_dialog.py +0 -209
  70. flextool-4.6.1/flextool/gui/error_handling.py +0 -50
  71. {flextool-4.6.1 → flextool-4.6.3}/LICENSE.txt +0 -0
  72. {flextool-4.6.1 → flextool-4.6.3}/MANIFEST.in +0 -0
  73. {flextool-4.6.1 → flextool-4.6.3}/README.md +0 -0
  74. {flextool-4.6.1 → flextool-4.6.3}/_flextool_build.py +0 -0
  75. {flextool-4.6.1 → flextool-4.6.3}/docs/advanced_concepts.md +0 -0
  76. {flextool-4.6.1 → flextool-4.6.3}/docs/ai_assistant.md +0 -0
  77. {flextool-4.6.1 → flextool-4.6.3}/docs/dev/engine.md +0 -0
  78. {flextool-4.6.1 → flextool-4.6.3}/docs/dev/slack_convention.md +0 -0
  79. {flextool-4.6.1 → flextool-4.6.3}/docs/env_vars.md +0 -0
  80. {flextool-4.6.1 → flextool-4.6.3}/docs/excel_interface.md +0 -0
  81. {flextool-4.6.1 → flextool-4.6.3}/docs/how_to/emissions.md +0 -0
  82. {flextool-4.6.1 → flextool-4.6.3}/docs/how_to/index.md +0 -0
  83. {flextool-4.6.1 → flextool-4.6.3}/docs/how_to/investment.md +0 -0
  84. {flextool-4.6.1 → flextool-4.6.3}/docs/how_to/outputs.md +0 -0
  85. {flextool-4.6.1 → flextool-4.6.3}/docs/how_to/solve_sequences.md +0 -0
  86. {flextool-4.6.1 → flextool-4.6.3}/docs/how_to/stochastics.md +0 -0
  87. {flextool-4.6.1 → flextool-4.6.3}/docs/how_to/storage_hydro.md +0 -0
  88. {flextool-4.6.1 → flextool-4.6.3}/docs/how_to/thermal_chp.md +0 -0
  89. {flextool-4.6.1 → flextool-4.6.3}/docs/index.md +0 -0
  90. {flextool-4.6.1 → flextool-4.6.3}/docs/install_toolbox.md +0 -0
  91. {flextool-4.6.1 → flextool-4.6.3}/docs/interface_overview.md +0 -0
  92. {flextool-4.6.1 → flextool-4.6.3}/docs/limitations.md +0 -0
  93. {flextool-4.6.1 → flextool-4.6.3}/docs/reading_results.md +0 -0
  94. {flextool-4.6.1 → flextool-4.6.3}/docs/reference/commodities.md +0 -0
  95. {flextool-4.6.1 → flextool-4.6.3}/docs/reference/entities_and_time.md +0 -0
  96. {flextool-4.6.1 → flextool-4.6.3}/docs/reference/flow_groups.md +0 -0
  97. {flextool-4.6.1 → flextool-4.6.3}/docs/reference/index.md +0 -0
  98. {flextool-4.6.1 → flextool-4.6.3}/docs/reference/nodes.md +0 -0
  99. {flextool-4.6.1 → flextool-4.6.3}/docs/reference/parameter_groups.md +0 -0
  100. {flextool-4.6.1 → flextool-4.6.3}/docs/reference/reserves.md +0 -0
  101. {flextool-4.6.1 → flextool-4.6.3}/docs/reference/units.md +0 -0
  102. {flextool-4.6.1 → flextool-4.6.3}/docs/reference/user_constraints.md +0 -0
  103. {flextool-4.6.1 → flextool-4.6.3}/docs/results.md +0 -0
  104. {flextool-4.6.1 → flextool-4.6.3}/docs/solvers/copt.md +0 -0
  105. {flextool-4.6.1 → flextool-4.6.3}/docs/solvers/cplex.md +0 -0
  106. {flextool-4.6.1 → flextool-4.6.3}/docs/solvers/gurobi.md +0 -0
  107. {flextool-4.6.1 → flextool-4.6.3}/docs/solvers/highs.md +0 -0
  108. {flextool-4.6.1 → flextool-4.6.3}/docs/solvers/index.md +0 -0
  109. {flextool-4.6.1 → flextool-4.6.3}/docs/solvers/xpress.md +0 -0
  110. {flextool-4.6.1 → flextool-4.6.3}/docs/spine_database.md +0 -0
  111. {flextool-4.6.1 → flextool-4.6.3}/docs/spine_toolbox.md +0 -0
  112. {flextool-4.6.1 → flextool-4.6.3}/docs/tutorial.md +0 -0
  113. {flextool-4.6.1 → flextool-4.6.3}/flextool/__init__.py +0 -0
  114. {flextool-4.6.1 → flextool-4.6.3}/flextool/_allocator.py +0 -0
  115. {flextool-4.6.1 → flextool-4.6.3}/flextool/_child_python.py +0 -0
  116. {flextool-4.6.1 → flextool-4.6.3}/flextool/_file_lock.py +0 -0
  117. {flextool-4.6.1 → flextool-4.6.3}/flextool/_local_solver_settings.py +0 -0
  118. {flextool-4.6.1 → flextool-4.6.3}/flextool/_mem_sampler.py +0 -0
  119. {flextool-4.6.1 → flextool-4.6.3}/flextool/_process_tree.py +0 -0
  120. {flextool-4.6.1 → flextool-4.6.3}/flextool/_resources.py +0 -0
  121. {flextool-4.6.1 → flextool-4.6.3}/flextool/_safe_text.py +0 -0
  122. {flextool-4.6.1 → flextool-4.6.3}/flextool/_solver_config_source.py +0 -0
  123. {flextool-4.6.1 → flextool-4.6.3}/flextool/_solver_option_rules.py +0 -0
  124. {flextool-4.6.1 → flextool-4.6.3}/flextool/_thread_budget.py +0 -0
  125. {flextool-4.6.1 → flextool-4.6.3}/flextool/assistant/__init__.py +0 -0
  126. {flextool-4.6.1 → flextool-4.6.3}/flextool/assistant/_files.py +0 -0
  127. {flextool-4.6.1 → flextool-4.6.3}/flextool/assistant/backends/__init__.py +0 -0
  128. {flextool-4.6.1 → flextool-4.6.3}/flextool/assistant/backends/_common.py +0 -0
  129. {flextool-4.6.1 → flextool-4.6.3}/flextool/assistant/backends/anthropic_messages.py +0 -0
  130. {flextool-4.6.1 → flextool-4.6.3}/flextool/assistant/backends/openai_chat.py +0 -0
  131. {flextool-4.6.1 → flextool-4.6.3}/flextool/assistant/budget.py +0 -0
  132. {flextool-4.6.1 → flextool-4.6.3}/flextool/assistant/caps.py +0 -0
  133. {flextool-4.6.1 → flextool-4.6.3}/flextool/assistant/chat_cli.py +0 -0
  134. {flextool-4.6.1 → flextool-4.6.3}/flextool/assistant/cli.py +0 -0
  135. {flextool-4.6.1 → flextool-4.6.3}/flextool/assistant/context.py +0 -0
  136. {flextool-4.6.1 → flextool-4.6.3}/flextool/assistant/docs_store.py +0 -0
  137. {flextool-4.6.1 → flextool-4.6.3}/flextool/assistant/endpoint.py +0 -0
  138. {flextool-4.6.1 → flextool-4.6.3}/flextool/assistant/env_knobs.py +0 -0
  139. {flextool-4.6.1 → flextool-4.6.3}/flextool/assistant/errors.py +0 -0
  140. {flextool-4.6.1 → flextool-4.6.3}/flextool/assistant/inputs/__init__.py +0 -0
  141. {flextool-4.6.1 → flextool-4.6.3}/flextool/assistant/inputs/_db.py +0 -0
  142. {flextool-4.6.1 → flextool-4.6.3}/flextool/assistant/inputs/_notes.py +0 -0
  143. {flextool-4.6.1 → flextool-4.6.3}/flextool/assistant/inputs/_schema.py +0 -0
  144. {flextool-4.6.1 → flextool-4.6.3}/flextool/assistant/inputs/_units.py +0 -0
  145. {flextool-4.6.1 → flextool-4.6.3}/flextool/assistant/inputs/_values.py +0 -0
  146. {flextool-4.6.1 → flextool-4.6.3}/flextool/assistant/keys.py +0 -0
  147. {flextool-4.6.1 → flextool-4.6.3}/flextool/assistant/llm_adapter.py +0 -0
  148. {flextool-4.6.1 → flextool-4.6.3}/flextool/assistant/llm_errors.py +0 -0
  149. {flextool-4.6.1 → flextool-4.6.3}/flextool/assistant/llm_retry.py +0 -0
  150. {flextool-4.6.1 → flextool-4.6.3}/flextool/assistant/mcp_server.py +0 -0
  151. {flextool-4.6.1 → flextool-4.6.3}/flextool/assistant/model_check.py +0 -0
  152. {flextool-4.6.1 → flextool-4.6.3}/flextool/assistant/model_facts.py +0 -0
  153. {flextool-4.6.1 → flextool-4.6.3}/flextool/assistant/model_list_cache.py +0 -0
  154. {flextool-4.6.1 → flextool-4.6.3}/flextool/assistant/model_versions.py +0 -0
  155. {flextool-4.6.1 → flextool-4.6.3}/flextool/assistant/net.py +0 -0
  156. {flextool-4.6.1 → flextool-4.6.3}/flextool/assistant/pacing.py +0 -0
  157. {flextool-4.6.1 → flextool-4.6.3}/flextool/assistant/placeholders.py +0 -0
  158. {flextool-4.6.1 → flextool-4.6.3}/flextool/assistant/probes.py +0 -0
  159. {flextool-4.6.1 → flextool-4.6.3}/flextool/assistant/project.py +0 -0
  160. {flextool-4.6.1 → flextool-4.6.3}/flextool/assistant/prompt.py +0 -0
  161. {flextool-4.6.1 → flextool-4.6.3}/flextool/assistant/providers.py +0 -0
  162. {flextool-4.6.1 → flextool-4.6.3}/flextool/assistant/redact.py +0 -0
  163. {flextool-4.6.1 → flextool-4.6.3}/flextool/assistant/registry.py +0 -0
  164. {flextool-4.6.1 → flextool-4.6.3}/flextool/assistant/results/__init__.py +0 -0
  165. {flextool-4.6.1 → flextool-4.6.3}/flextool/assistant/results/_catalog.py +0 -0
  166. {flextool-4.6.1 → flextool-4.6.3}/flextool/assistant/results/_entity.py +0 -0
  167. {flextool-4.6.1 → flextool-4.6.3}/flextool/assistant/results/_overview.py +0 -0
  168. {flextool-4.6.1 → flextool-4.6.3}/flextool/assistant/results/_query.py +0 -0
  169. {flextool-4.6.1 → flextool-4.6.3}/flextool/assistant/results/_runs.py +0 -0
  170. {flextool-4.6.1 → flextool-4.6.3}/flextool/assistant/results/_slacks.py +0 -0
  171. {flextool-4.6.1 → flextool-4.6.3}/flextool/assistant/runtime_context.py +0 -0
  172. {flextool-4.6.1 → flextool-4.6.3}/flextool/assistant/session.py +0 -0
  173. {flextool-4.6.1 → flextool-4.6.3}/flextool/assistant/settings.py +0 -0
  174. {flextool-4.6.1 → flextool-4.6.3}/flextool/assistant/store.py +0 -0
  175. {flextool-4.6.1 → flextool-4.6.3}/flextool/assistant/textsearch.py +0 -0
  176. {flextool-4.6.1 → flextool-4.6.3}/flextool/assistant/thoughts.py +0 -0
  177. {flextool-4.6.1 → flextool-4.6.3}/flextool/assistant/tiers.py +0 -0
  178. {flextool-4.6.1 → flextool-4.6.3}/flextool/assistant/tools/__init__.py +0 -0
  179. {flextool-4.6.1 → flextool-4.6.3}/flextool/assistant/tools/diagnostics.py +0 -0
  180. {flextool-4.6.1 → flextool-4.6.3}/flextool/assistant/tools/discovery.py +0 -0
  181. {flextool-4.6.1 → flextool-4.6.3}/flextool/assistant/tools/explain.py +0 -0
  182. {flextool-4.6.1 → flextool-4.6.3}/flextool/assistant/tools/inputs.py +0 -0
  183. {flextool-4.6.1 → flextool-4.6.3}/flextool/assistant/tools/orientation.py +0 -0
  184. {flextool-4.6.1 → flextool-4.6.3}/flextool/assistant/tools/results.py +0 -0
  185. {flextool-4.6.1 → flextool-4.6.3}/flextool/assistant/unit_wording.py +0 -0
  186. {flextool-4.6.1 → flextool-4.6.3}/flextool/assistant/usage.py +0 -0
  187. {flextool-4.6.1 → flextool-4.6.3}/flextool/calibrate/__init__.py +0 -0
  188. {flextool-4.6.1 → flextool-4.6.3}/flextool/calibrate/__main__.py +0 -0
  189. {flextool-4.6.1 → flextool-4.6.3}/flextool/calibrate/_cli.py +0 -0
  190. {flextool-4.6.1 → flextool-4.6.3}/flextool/calibrate/_db_alt.py +0 -0
  191. {flextool-4.6.1 → flextool-4.6.3}/flextool/calibrate/_final_outputs.py +0 -0
  192. {flextool-4.6.1 → flextool-4.6.3}/flextool/calibrate/_guard.py +0 -0
  193. {flextool-4.6.1 → flextool-4.6.3}/flextool/calibrate/_loop.py +0 -0
  194. {flextool-4.6.1 → flextool-4.6.3}/flextool/calibrate/_readers.py +0 -0
  195. {flextool-4.6.1 → flextool-4.6.3}/flextool/calibrate/_report.py +0 -0
  196. {flextool-4.6.1 → flextool-4.6.3}/flextool/calibrate/_sizing.py +0 -0
  197. {flextool-4.6.1 → flextool-4.6.3}/flextool/calibrate/_solve.py +0 -0
  198. {flextool-4.6.1 → flextool-4.6.3}/flextool/calibrate/_solve_status.py +0 -0
  199. {flextool-4.6.1 → flextool-4.6.3}/flextool/cli/__init__.py +0 -0
  200. {flextool-4.6.1 → flextool-4.6.3}/flextool/cli/_console.py +0 -0
  201. {flextool-4.6.1 → flextool-4.6.3}/flextool/cli/_timing.py +0 -0
  202. {flextool-4.6.1 → flextool-4.6.3}/flextool/cli/cmd_execute_flextool_workflow.py +0 -0
  203. {flextool-4.6.1 → flextool-4.6.3}/flextool/cli/cmd_export_to_tabular.py +0 -0
  204. {flextool-4.6.1 → flextool-4.6.3}/flextool/cli/cmd_freeze_database.py +0 -0
  205. {flextool-4.6.1 → flextool-4.6.3}/flextool/cli/cmd_import_sensitivities.py +0 -0
  206. {flextool-4.6.1 → flextool-4.6.3}/flextool/cli/cmd_migrate_database.py +0 -0
  207. {flextool-4.6.1 → flextool-4.6.3}/flextool/cli/cmd_open_results_db.py +0 -0
  208. {flextool-4.6.1 → flextool-4.6.3}/flextool/cli/cmd_project_package.py +0 -0
  209. {flextool-4.6.1 → flextool-4.6.3}/flextool/cli/cmd_read_matpower.py +0 -0
  210. {flextool-4.6.1 → flextool-4.6.3}/flextool/cli/cmd_read_old_flextool.py +0 -0
  211. {flextool-4.6.1 → flextool-4.6.3}/flextool/cli/cmd_read_self_describing_tabular_input.py +0 -0
  212. {flextool-4.6.1 → flextool-4.6.3}/flextool/cli/cmd_read_tabular_input.py +0 -0
  213. {flextool-4.6.1 → flextool-4.6.3}/flextool/cli/cmd_run_flextool.py +0 -0
  214. {flextool-4.6.1 → flextool-4.6.3}/flextool/cli/cmd_scenario_results.py +0 -0
  215. {flextool-4.6.1 → flextool-4.6.3}/flextool/cli/cmd_solve_mps.py +0 -0
  216. {flextool-4.6.1 → flextool-4.6.3}/flextool/cli/cmd_time_runs.py +0 -0
  217. {flextool-4.6.1 → flextool-4.6.3}/flextool/cli/cmd_trust_workspace.py +0 -0
  218. {flextool-4.6.1 → flextool-4.6.3}/flextool/cli/cmd_update_flextool.py +0 -0
  219. {flextool-4.6.1 → flextool-4.6.3}/flextool/cli/cmd_write_outputs.py +0 -0
  220. {flextool-4.6.1 → flextool-4.6.3}/flextool/common_utils/__init__.py +0 -0
  221. {flextool-4.6.1 → flextool-4.6.3}/flextool/common_utils/plot_mem_shape.py +0 -0
  222. {flextool-4.6.1 → flextool-4.6.3}/flextool/console_markers.py +0 -0
  223. {flextool-4.6.1 → flextool-4.6.3}/flextool/decomposition/__init__.py +0 -0
  224. {flextool-4.6.1 → flextool-4.6.3}/flextool/decomposition/region_decomposition.py +0 -0
  225. {flextool-4.6.1 → flextool-4.6.3}/flextool/decomposition/region_filter.py +0 -0
  226. {flextool-4.6.1 → flextool-4.6.3}/flextool/docs_build/__init__.py +0 -0
  227. {flextool-4.6.1 → flextool-4.6.3}/flextool/docs_build/__main__.py +0 -0
  228. {flextool-4.6.1 → flextool-4.6.3}/flextool/docs_build/catalogue.py +0 -0
  229. {flextool-4.6.1 → flextool-4.6.3}/flextool/docs_build/formulation.py +0 -0
  230. {flextool-4.6.1 → flextool-4.6.3}/flextool/docs_build/index.py +0 -0
  231. {flextool-4.6.1 → flextool-4.6.3}/flextool/docs_build/parameters.py +0 -0
  232. {flextool-4.6.1 → flextool-4.6.3}/flextool/docs_build/scope.py +0 -0
  233. {flextool-4.6.1 → flextool-4.6.3}/flextool/docs_build/warnings.py +0 -0
  234. {flextool-4.6.1 → flextool-4.6.3}/flextool/engine/__init__.py +0 -0
  235. {flextool-4.6.1 → flextool-4.6.3}/flextool/engine/_csv_reload/__init__.py +0 -0
  236. {flextool-4.6.1 → flextool-4.6.3}/flextool/engine/_csv_reload/_field_seeds.py +0 -0
  237. {flextool-4.6.1 → flextool-4.6.3}/flextool/engine/_csv_reload/_meta.py +0 -0
  238. {flextool-4.6.1 → flextool-4.6.3}/flextool/engine/_csv_reload/_seed.py +0 -0
  239. {flextool-4.6.1 → flextool-4.6.3}/flextool/engine/_csv_reload/_stamp.py +0 -0
  240. {flextool-4.6.1 → flextool-4.6.3}/flextool/engine/_csv_reload/_topology.py +0 -0
  241. {flextool-4.6.1 → flextool-4.6.3}/flextool/engine/_csv_reload/load.py +0 -0
  242. {flextool-4.6.1 → flextool-4.6.3}/flextool/engine/_csv_reload/offline_outputs.py +0 -0
  243. {flextool-4.6.1 → flextool-4.6.3}/flextool/engine/autoscale/__init__.py +0 -0
  244. {flextool-4.6.1 → flextool-4.6.3}/flextool/engine/autoscale/_config.py +0 -0
  245. {flextool-4.6.1 → flextool-4.6.3}/flextool/engine/autoscale/_guard.py +0 -0
  246. {flextool-4.6.1 → flextool-4.6.3}/flextool/engine/autoscale/_layer2.py +0 -0
  247. {flextool-4.6.1 → flextool-4.6.3}/flextool/engine/autoscale/_layer2_types.py +0 -0
  248. {flextool-4.6.1 → flextool-4.6.3}/flextool/engine/autoscale/_quantity_types.py +0 -0
  249. {flextool-4.6.1 → flextool-4.6.3}/flextool/engine/autoscale/_report.py +0 -0
  250. {flextool-4.6.1 → flextool-4.6.3}/flextool/engine/input/__init__.py +0 -0
  251. {flextool-4.6.1 → flextool-4.6.3}/flextool/engine/input/_axis_enums.py +0 -0
  252. {flextool-4.6.1 → flextool-4.6.3}/flextool/engine/input/_constants.py +0 -0
  253. {flextool-4.6.1 → flextool-4.6.3}/flextool/engine/input/_db_loader.py +0 -0
  254. {flextool-4.6.1 → flextool-4.6.3}/flextool/engine/input/_db_reader.py +0 -0
  255. {flextool-4.6.1 → flextool-4.6.3}/flextool/engine/input/_inmemory_reader.py +0 -0
  256. {flextool-4.6.1 → flextool-4.6.3}/flextool/engine/input/_input_source.py +0 -0
  257. {flextool-4.6.1 → flextool-4.6.3}/flextool/engine/input/_lifetime_roles.py +0 -0
  258. {flextool-4.6.1 → flextool-4.6.3}/flextool/engine/input/_param_shapes.py +0 -0
  259. {flextool-4.6.1 → flextool-4.6.3}/flextool/engine/input/_piecewise_curve.py +0 -0
  260. {flextool-4.6.1 → flextool-4.6.3}/flextool/engine/input/_solve_config.py +0 -0
  261. {flextool-4.6.1 → flextool-4.6.3}/flextool/engine/input/_solve_state.py +0 -0
  262. {flextool-4.6.1 → flextool-4.6.3}/flextool/engine/input/_solve_step_aggregation.py +0 -0
  263. {flextool-4.6.1 → flextool-4.6.3}/flextool/engine/input/_spinedb_reader.py +0 -0
  264. {flextool-4.6.1 → flextool-4.6.3}/flextool/engine/input/_timeline.py +0 -0
  265. {flextool-4.6.1 → flextool-4.6.3}/flextool/engine/input/_timeline_rules.py +0 -0
  266. {flextool-4.6.1 → flextool-4.6.3}/flextool/engine/model/__init__.py +0 -0
  267. {flextool-4.6.1 → flextool-4.6.3}/flextool/engine/model/_capacity.py +0 -0
  268. {flextool-4.6.1 → flextool-4.6.3}/flextool/engine/model/_coarse_flows.py +0 -0
  269. {flextool-4.6.1 → flextool-4.6.3}/flextool/engine/model/_commodity_ladder.py +0 -0
  270. {flextool-4.6.1 → flextool-4.6.3}/flextool/engine/model/_common.py +0 -0
  271. {flextool-4.6.1 → flextool-4.6.3}/flextool/engine/model/_delay.py +0 -0
  272. {flextool-4.6.1 → flextool-4.6.3}/flextool/engine/model/_exact.py +0 -0
  273. {flextool-4.6.1 → flextool-4.6.3}/flextool/engine/model/_extend.py +0 -0
  274. {flextool-4.6.1 → flextool-4.6.3}/flextool/engine/model/_lead_time.py +0 -0
  275. {flextool-4.6.1 → flextool-4.6.3}/flextool/engine/model/_non_anticipativity.py +0 -0
  276. {flextool-4.6.1 → flextool-4.6.3}/flextool/engine/model/_online.py +0 -0
  277. {flextool-4.6.1 → flextool-4.6.3}/flextool/engine/model/_pdt_join.py +0 -0
  278. {flextool-4.6.1 → flextool-4.6.3}/flextool/engine/model/_retire_built.py +0 -0
  279. {flextool-4.6.1 → flextool-4.6.3}/flextool/engine/model/_self_discharge.py +0 -0
  280. {flextool-4.6.1 → flextool-4.6.3}/flextool/engine/model/_unit_floors.py +0 -0
  281. {flextool-4.6.1 → flextool-4.6.3}/flextool/engine/output/__init__.py +0 -0
  282. {flextool-4.6.1 → flextool-4.6.3}/flextool/engine/output/_benders_slice.py +0 -0
  283. {flextool-4.6.1 → flextool-4.6.3}/flextool/engine/output/_capacity_margin.py +0 -0
  284. {flextool-4.6.1 → flextool-4.6.3}/flextool/engine/output/_coarse_flows.py +0 -0
  285. {flextool-4.6.1 → flextool-4.6.3}/flextool/engine/output/_cohort_capacity.py +0 -0
  286. {flextool-4.6.1 → flextool-4.6.3}/flextool/engine/output/_dump_csvs.py +0 -0
  287. {flextool-4.6.1 → flextool-4.6.3}/flextool/engine/output/_horizon_dump.py +0 -0
  288. {flextool-4.6.1 → flextool-4.6.3}/flextool/engine/output/_parquet_bundle.py +0 -0
  289. {flextool-4.6.1 → flextool-4.6.3}/flextool/engine/output/_prices.py +0 -0
  290. {flextool-4.6.1 → flextool-4.6.3}/flextool/engine/output/_reserve_report.py +0 -0
  291. {flextool-4.6.1 → flextool-4.6.3}/flextool/engine/output/_writer.py +0 -0
  292. {flextool-4.6.1 → flextool-4.6.3}/flextool/engine/preprocess/__init__.py +0 -0
  293. {flextool-4.6.1 → flextool-4.6.3}/flextool/engine/preprocess/_annuity.py +0 -0
  294. {flextool-4.6.1 → flextool-4.6.3}/flextool/engine/preprocess/_co2_methods.py +0 -0
  295. {flextool-4.6.1 → flextool-4.6.3}/flextool/engine/preprocess/_dump_stamp.py +0 -0
  296. {flextool-4.6.1 → flextool-4.6.3}/flextool/engine/preprocess/_flex_data_provider.py +0 -0
  297. {flextool-4.6.1 → flextool-4.6.3}/flextool/engine/preprocess/_input_writer.py +0 -0
  298. {flextool-4.6.1 → flextool-4.6.3}/flextool/engine/preprocess/_invest_seeds.py +0 -0
  299. {flextool-4.6.1 → flextool-4.6.3}/flextool/engine/preprocess/_provider_io.py +0 -0
  300. {flextool-4.6.1 → flextool-4.6.3}/flextool/engine/preprocess/_provider_keys.py +0 -0
  301. {flextool-4.6.1 → flextool-4.6.3}/flextool/engine/preprocess/_provider_translators.py +0 -0
  302. {flextool-4.6.1 → flextool-4.6.3}/flextool/engine/preprocess/_reduce_detail.py +0 -0
  303. {flextool-4.6.1 → flextool-4.6.3}/flextool/engine/preprocess/_reserve_methods.py +0 -0
  304. {flextool-4.6.1 → flextool-4.6.3}/flextool/engine/preprocess/_solve_context.py +0 -0
  305. {flextool-4.6.1 → flextool-4.6.3}/flextool/engine/preprocess/_stochastic_detect.py +0 -0
  306. {flextool-4.6.1 → flextool-4.6.3}/flextool/engine/preprocess/emit/__init__.py +0 -0
  307. {flextool-4.6.1 → flextool-4.6.3}/flextool/engine/preprocess/emit/_arc_unions.py +0 -0
  308. {flextool-4.6.1 → flextool-4.6.3}/flextool/engine/preprocess/emit/_base_steps.py +0 -0
  309. {flextool-4.6.1 → flextool-4.6.3}/flextool/engine/preprocess/emit/_blocks.py +0 -0
  310. {flextool-4.6.1 → flextool-4.6.3}/flextool/engine/preprocess/emit/_calc_params.py +0 -0
  311. {flextool-4.6.1 → flextool-4.6.3}/flextool/engine/preprocess/emit/_capacity_margin_peak.py +0 -0
  312. {flextool-4.6.1 → flextool-4.6.3}/flextool/engine/preprocess/emit/_chain_params.py +0 -0
  313. {flextool-4.6.1 → flextool-4.6.3}/flextool/engine/preprocess/emit/_co2_accumulators.py +0 -0
  314. {flextool-4.6.1 → flextool-4.6.3}/flextool/engine/preprocess/emit/_dispatchers.py +0 -0
  315. {flextool-4.6.1 → flextool-4.6.3}/flextool/engine/preprocess/emit/_energy_margin.py +0 -0
  316. {flextool-4.6.1 → flextool-4.6.3}/flextool/engine/preprocess/emit/_energy_margin_adder.py +0 -0
  317. {flextool-4.6.1 → flextool-4.6.3}/flextool/engine/preprocess/emit/_inflow_scaling.py +0 -0
  318. {flextool-4.6.1 → flextool-4.6.3}/flextool/engine/preprocess/emit/_inflow_scaling_checks.py +0 -0
  319. {flextool-4.6.1 → flextool-4.6.3}/flextool/engine/preprocess/emit/_leaf_sets.py +0 -0
  320. {flextool-4.6.1 → flextool-4.6.3}/flextool/engine/preprocess/emit/_lp_scaling.py +0 -0
  321. {flextool-4.6.1 → flextool-4.6.3}/flextool/engine/preprocess/emit/_mid_sets.py +0 -0
  322. {flextool-4.6.1 → flextool-4.6.3}/flextool/engine/preprocess/emit/_pdt_lookup.py +0 -0
  323. {flextool-4.6.1 → flextool-4.6.3}/flextool/engine/preprocess/emit/_pdt_params.py +0 -0
  324. {flextool-4.6.1 → flextool-4.6.3}/flextool/engine/preprocess/emit/_per_solve.py +0 -0
  325. {flextool-4.6.1 → flextool-4.6.3}/flextool/engine/preprocess/emit/_period_calc.py +0 -0
  326. {flextool-4.6.1 → flextool-4.6.3}/flextool/engine/preprocess/emit/_reserve_sets.py +0 -0
  327. {flextool-4.6.1 → flextool-4.6.3}/flextool/engine/preprocess/emit/_solve_time.py +0 -0
  328. {flextool-4.6.1 → flextool-4.6.3}/flextool/engine/preprocess/emit/_solve_writers.py +0 -0
  329. {flextool-4.6.1 → flextool-4.6.3}/flextool/engine/preprocess/emit/_vectorize.py +0 -0
  330. {flextool-4.6.1 → flextool-4.6.3}/flextool/engine/preprocess/params/__init__.py +0 -0
  331. {flextool-4.6.1 → flextool-4.6.3}/flextool/engine/preprocess/params/_arithmetic.py +0 -0
  332. {flextool-4.6.1 → flextool-4.6.3}/flextool/engine/preprocess/params/_block.py +0 -0
  333. {flextool-4.6.1 → flextool-4.6.3}/flextool/engine/preprocess/params/_block_layout.py +0 -0
  334. {flextool-4.6.1 → flextool-4.6.3}/flextool/engine/preprocess/params/_branch.py +0 -0
  335. {flextool-4.6.1 → flextool-4.6.3}/flextool/engine/preprocess/params/_coarse.py +0 -0
  336. {flextool-4.6.1 → flextool-4.6.3}/flextool/engine/preprocess/params/_cohort_handoff.py +0 -0
  337. {flextool-4.6.1 → flextool-4.6.3}/flextool/engine/preprocess/params/_cohorts.py +0 -0
  338. {flextool-4.6.1 → flextool-4.6.3}/flextool/engine/preprocess/params/_cost_lines.py +0 -0
  339. {flextool-4.6.1 → flextool-4.6.3}/flextool/engine/preprocess/params/_discount.py +0 -0
  340. {flextool-4.6.1 → flextool-4.6.3}/flextool/engine/preprocess/params/_existing.py +0 -0
  341. {flextool-4.6.1 → flextool-4.6.3}/flextool/engine/preprocess/params/_existing_salvage.py +0 -0
  342. {flextool-4.6.1 → flextool-4.6.3}/flextool/engine/preprocess/params/_extend.py +0 -0
  343. {flextool-4.6.1 → flextool-4.6.3}/flextool/engine/preprocess/params/_fixed_costs.py +0 -0
  344. {flextool-4.6.1 → flextool-4.6.3}/flextool/engine/preprocess/params/_lifetime_costs.py +0 -0
  345. {flextool-4.6.1 → flextool-4.6.3}/flextool/engine/preprocess/params/_lifetime_inputs.py +0 -0
  346. {flextool-4.6.1 → flextool-4.6.3}/flextool/engine/preprocess/params/_mintime.py +0 -0
  347. {flextool-4.6.1 → flextool-4.6.3}/flextool/engine/preprocess/params/_npv.py +0 -0
  348. {flextool-4.6.1 → flextool-4.6.3}/flextool/engine/preprocess/params/_per_solve_sets.py +0 -0
  349. {flextool-4.6.1 → flextool-4.6.3}/flextool/engine/preprocess/params/_period_values.py +0 -0
  350. {flextool-4.6.1 → flextool-4.6.3}/flextool/engine/preprocess/params/_piecewise.py +0 -0
  351. {flextool-4.6.1 → flextool-4.6.3}/flextool/engine/preprocess/params/_profiles.py +0 -0
  352. {flextool-4.6.1 → flextool-4.6.3}/flextool/engine/preprocess/params/_projection.py +0 -0
  353. {flextool-4.6.1 → flextool-4.6.3}/flextool/engine/preprocess/params/_ramp_links.py +0 -0
  354. {flextool-4.6.1 → flextool-4.6.3}/flextool/engine/preprocess/params/_report_lines.py +0 -0
  355. {flextool-4.6.1 → flextool-4.6.3}/flextool/engine/preprocess/params/_retire_built.py +0 -0
  356. {flextool-4.6.1 → flextool-4.6.3}/flextool/engine/preprocess/params/_retire_existing.py +0 -0
  357. {flextool-4.6.1 → flextool-4.6.3}/flextool/engine/preprocess/params/_retire_settlement.py +0 -0
  358. {flextool-4.6.1 → flextool-4.6.3}/flextool/engine/preprocess/params/_run_calendar.py +0 -0
  359. {flextool-4.6.1 → flextool-4.6.3}/flextool/engine/preprocess/params/_run_costs.py +0 -0
  360. {flextool-4.6.1 → flextool-4.6.3}/flextool/engine/preprocess/params/_walks.py +0 -0
  361. {flextool-4.6.1 → flextool-4.6.3}/flextool/engine/solve/__init__.py +0 -0
  362. {flextool-4.6.1 → flextool-4.6.3}/flextool/engine/solve/_acceptance.py +0 -0
  363. {flextool-4.6.1 → flextool-4.6.3}/flextool/engine/solve/_benders_final.py +0 -0
  364. {flextool-4.6.1 → flextool-4.6.3}/flextool/engine/solve/_carry_routing.py +0 -0
  365. {flextool-4.6.1 → flextool-4.6.3}/flextool/engine/solve/_determinism.py +0 -0
  366. {flextool-4.6.1 → flextool-4.6.3}/flextool/engine/solve/_handoff.py +0 -0
  367. {flextool-4.6.1 → flextool-4.6.3}/flextool/engine/solve/_objective_options.py +0 -0
  368. {flextool-4.6.1 → flextool-4.6.3}/flextool/engine/solve/_realization.py +0 -0
  369. {flextool-4.6.1 → flextool-4.6.3}/flextool/engine/solve/_realized_overlap.py +0 -0
  370. {flextool-4.6.1 → flextool-4.6.3}/flextool/engine/solve/_recursive_solve.py +0 -0
  371. {flextool-4.6.1 → flextool-4.6.3}/flextool/engine/solve/_solver_base.py +0 -0
  372. {flextool-4.6.1 → flextool-4.6.3}/flextool/engine/solve/_solver_catalogue.py +0 -0
  373. {flextool-4.6.1 → flextool-4.6.3}/flextool/engine/solve/_solver_dispatch.py +0 -0
  374. {flextool-4.6.1 → flextool-4.6.3}/flextool/engine/solve/_stochastic.py +0 -0
  375. {flextool-4.6.1 → flextool-4.6.3}/flextool/engine/solve/_subprocess_solve.py +0 -0
  376. {flextool-4.6.1 → flextool-4.6.3}/flextool/engine/solve/_warm.py +0 -0
  377. {flextool-4.6.1 → flextool-4.6.3}/flextool/engine/solve/chain.py +0 -0
  378. {flextool-4.6.1 → flextool-4.6.3}/flextool/engine/solve/solver_catalogue/copt.json +0 -0
  379. {flextool-4.6.1 → flextool-4.6.3}/flextool/engine/solve/solver_catalogue/cplex.json +0 -0
  380. {flextool-4.6.1 → flextool-4.6.3}/flextool/engine/solve/solver_catalogue/gurobi.json +0 -0
  381. {flextool-4.6.1 → flextool-4.6.3}/flextool/engine/solve/solver_catalogue/highs.json +0 -0
  382. {flextool-4.6.1 → flextool-4.6.3}/flextool/engine/solve/solver_catalogue/xpress.json +0 -0
  383. {flextool-4.6.1 → flextool-4.6.3}/flextool/engine_polars/__init__.py +0 -0
  384. {flextool-4.6.1 → flextool-4.6.3}/flextool/export_to_tabular/__init__.py +0 -0
  385. {flextool-4.6.1 → flextool-4.6.3}/flextool/export_to_tabular/db_reader.py +0 -0
  386. {flextool-4.6.1 → flextool-4.6.3}/flextool/export_to_tabular/excel_writer.py +0 -0
  387. {flextool-4.6.1 → flextool-4.6.3}/flextool/export_to_tabular/export_settings.yaml +0 -0
  388. {flextool-4.6.1 → flextool-4.6.3}/flextool/export_to_tabular/export_to_excel.py +0 -0
  389. {flextool-4.6.1 → flextool-4.6.3}/flextool/export_to_tabular/formatting.py +0 -0
  390. {flextool-4.6.1 → flextool-4.6.3}/flextool/export_to_tabular/sheet_config.py +0 -0
  391. {flextool-4.6.1 → flextool-4.6.3}/flextool/gui/__init__.py +0 -0
  392. {flextool-4.6.1 → flextool-4.6.3}/flextool/gui/__main__.py +0 -0
  393. {flextool-4.6.1 → flextool-4.6.3}/flextool/gui/_menus.py +0 -0
  394. {flextool-4.6.1 → flextool-4.6.3}/flextool/gui/assistant/__init__.py +0 -0
  395. {flextool-4.6.1 → flextool-4.6.3}/flextool/gui/assistant/chat_tab.py +0 -0
  396. {flextool-4.6.1 → flextool-4.6.3}/flextool/gui/assistant/chat_window.py +0 -0
  397. {flextool-4.6.1 → flextool-4.6.3}/flextool/gui/assistant/fonts.py +0 -0
  398. {flextool-4.6.1 → flextool-4.6.3}/flextool/gui/assistant/gate.py +0 -0
  399. {flextool-4.6.1 → flextool-4.6.3}/flextool/gui/assistant/geometry.py +0 -0
  400. {flextool-4.6.1 → flextool-4.6.3}/flextool/gui/assistant/gui_state.py +0 -0
  401. {flextool-4.6.1 → flextool-4.6.3}/flextool/gui/assistant/markdown_stream.py +0 -0
  402. {flextool-4.6.1 → flextool-4.6.3}/flextool/gui/assistant/settings_dialog.py +0 -0
  403. {flextool-4.6.1 → flextool-4.6.3}/flextool/gui/assistant/strings.py +0 -0
  404. {flextool-4.6.1 → flextool-4.6.3}/flextool/gui/assistant/transcript.py +0 -0
  405. {flextool-4.6.1 → flextool-4.6.3}/flextool/gui/assistant/worker.py +0 -0
  406. {flextool-4.6.1 → flextool-4.6.3}/flextool/gui/calibrate_commands.py +0 -0
  407. {flextool-4.6.1 → flextool-4.6.3}/flextool/gui/calibrate_jobs.py +0 -0
  408. {flextool-4.6.1 → flextool-4.6.3}/flextool/gui/check_tree.py +0 -0
  409. {flextool-4.6.1 → flextool-4.6.3}/flextool/gui/cli_format.py +0 -0
  410. {flextool-4.6.1 → flextool-4.6.3}/flextool/gui/config_parser.py +0 -0
  411. {flextool-4.6.1 → flextool-4.6.3}/flextool/gui/data_models.py +0 -0
  412. {flextool-4.6.1 → flextool-4.6.3}/flextool/gui/db_editor_integration.py +0 -0
  413. {flextool-4.6.1 → flextool-4.6.3}/flextool/gui/db_version_check.py +0 -0
  414. {flextool-4.6.1 → flextool-4.6.3}/flextool/gui/dialogs/__init__.py +0 -0
  415. {flextool-4.6.1 → flextool-4.6.3}/flextool/gui/dialogs/calibrate_dialog.py +0 -0
  416. {flextool-4.6.1 → flextool-4.6.3}/flextool/gui/dialogs/file_picker.py +0 -0
  417. {flextool-4.6.1 → flextool-4.6.3}/flextool/gui/dialogs/migration_progress_dialog.py +0 -0
  418. {flextool-4.6.1 → flextool-4.6.3}/flextool/gui/dialogs/plot_settings_picker.py +0 -0
  419. {flextool-4.6.1 → flextool-4.6.3}/flextool/gui/dialogs/update_dialog.py +0 -0
  420. {flextool-4.6.1 → flextool-4.6.3}/flextool/gui/downsampling.py +0 -0
  421. {flextool-4.6.1 → flextool-4.6.3}/flextool/gui/execution_manager.py +0 -0
  422. {flextool-4.6.1 → flextool-4.6.3}/flextool/gui/log_view.py +0 -0
  423. {flextool-4.6.1 → flextool-4.6.3}/flextool/gui/network_graph.py +0 -0
  424. {flextool-4.6.1 → flextool-4.6.3}/flextool/gui/output_actions.py +0 -0
  425. {flextool-4.6.1 → flextool-4.6.3}/flextool/gui/output_log_window.py +0 -0
  426. {flextool-4.6.1 → flextool-4.6.3}/flextool/gui/platform_utils.py +0 -0
  427. {flextool-4.6.1 → flextool-4.6.3}/flextool/gui/plot_cache.py +0 -0
  428. {flextool-4.6.1 → flextool-4.6.3}/flextool/gui/plot_canvas.py +0 -0
  429. {flextool-4.6.1 → flextool-4.6.3}/flextool/gui/plot_config_reader.py +0 -0
  430. {flextool-4.6.1 → flextool-4.6.3}/flextool/gui/result_viewer.py +0 -0
  431. {flextool-4.6.1 → flextool-4.6.3}/flextool/gui/scenario_key.py +0 -0
  432. {flextool-4.6.1 → flextool-4.6.3}/flextool/gui/scenario_lists.py +0 -0
  433. {flextool-4.6.1 → flextool-4.6.3}/flextool/gui/solve_reader.py +0 -0
  434. {flextool-4.6.1 → flextool-4.6.3}/flextool/gui/tree_reorder.py +0 -0
  435. {flextool-4.6.1 → flextool-4.6.3}/flextool/gui/ui_metrics.py +0 -0
  436. {flextool-4.6.1 → flextool-4.6.3}/flextool/input_derivation/__init__.py +0 -0
  437. {flextool-4.6.1 → flextool-4.6.3}/flextool/input_derivation/_commodity_ladder.py +0 -0
  438. {flextool-4.6.1 → flextool-4.6.3}/flextool/input_derivation/_commodity_ladder_sets.py +0 -0
  439. {flextool-4.6.1 → flextool-4.6.3}/flextool/input_derivation/_dc_power_flow.py +0 -0
  440. {flextool-4.6.1 → flextool-4.6.3}/flextool/input_derivation/_method_constants.py +0 -0
  441. {flextool-4.6.1 → flextool-4.6.3}/flextool/input_derivation/_piecewise.py +0 -0
  442. {flextool-4.6.1 → flextool-4.6.3}/flextool/input_derivation/_process_method.py +0 -0
  443. {flextool-4.6.1 → flextool-4.6.3}/flextool/input_derivation/_specs.py +0 -0
  444. {flextool-4.6.1 → flextool-4.6.3}/flextool/input_derivation/_validators.py +0 -0
  445. {flextool-4.6.1 → flextool-4.6.3}/flextool/lean_parquet.py +0 -0
  446. {flextool-4.6.1 → flextool-4.6.3}/flextool/model_builder/__init__.py +0 -0
  447. {flextool-4.6.1 → flextool-4.6.3}/flextool/model_builder/_special.py +0 -0
  448. {flextool-4.6.1 → flextool-4.6.3}/flextool/model_builder/build_model.py +0 -0
  449. {flextool-4.6.1 → flextool-4.6.3}/flextool/model_builder/encoding.py +0 -0
  450. {flextool-4.6.1 → flextool-4.6.3}/flextool/model_builder/names.py +0 -0
  451. {flextool-4.6.1 → flextool-4.6.3}/flextool/model_builder/profiles.py +0 -0
  452. {flextool-4.6.1 → flextool-4.6.3}/flextool/plot_outputs/__init__.py +0 -0
  453. {flextool-4.6.1 → flextool-4.6.3}/flextool/plot_outputs/axis_helpers.py +0 -0
  454. {flextool-4.6.1 → flextool-4.6.3}/flextool/plot_outputs/color_template.py +0 -0
  455. {flextool-4.6.1 → flextool-4.6.3}/flextool/plot_outputs/config.py +0 -0
  456. {flextool-4.6.1 → flextool-4.6.3}/flextool/plot_outputs/format_helpers.py +0 -0
  457. {flextool-4.6.1 → flextool-4.6.3}/flextool/plot_outputs/legend_helpers.py +0 -0
  458. {flextool-4.6.1 → flextool-4.6.3}/flextool/plot_outputs/orchestrator.py +0 -0
  459. {flextool-4.6.1 → flextool-4.6.3}/flextool/plot_outputs/perf.py +0 -0
  460. {flextool-4.6.1 → flextool-4.6.3}/flextool/plot_outputs/plan.py +0 -0
  461. {flextool-4.6.1 → flextool-4.6.3}/flextool/plot_outputs/plot_bars.py +0 -0
  462. {flextool-4.6.1 → flextool-4.6.3}/flextool/plot_outputs/plot_bars_detail.py +0 -0
  463. {flextool-4.6.1 → flextool-4.6.3}/flextool/plot_outputs/plot_lines.py +0 -0
  464. {flextool-4.6.1 → flextool-4.6.3}/flextool/plot_outputs/shared_manifest.py +0 -0
  465. {flextool-4.6.1 → flextool-4.6.3}/flextool/plot_outputs/subplot_helpers.py +0 -0
  466. {flextool-4.6.1 → flextool-4.6.3}/flextool/plot_outputs/unit_labels.py +0 -0
  467. {flextool-4.6.1 → flextool-4.6.3}/flextool/process_inputs/import_old_excel_input.json +0 -0
  468. {flextool-4.6.1 → flextool-4.6.3}/flextool/process_inputs/read_matpower.py +0 -0
  469. {flextool-4.6.1 → flextool-4.6.3}/flextool/process_inputs/read_old_flextool.py +0 -0
  470. {flextool-4.6.1 → flextool-4.6.3}/flextool/process_inputs/read_self_describing_excel.py +0 -0
  471. {flextool-4.6.1 → flextool-4.6.3}/flextool/process_inputs/read_tabular_with_specification.py +0 -0
  472. {flextool-4.6.1 → flextool-4.6.3}/flextool/process_inputs/write_old_flextool_to_db.py +0 -0
  473. {flextool-4.6.1 → flextool-4.6.3}/flextool/process_inputs/write_self_describing_to_db.py +0 -0
  474. {flextool-4.6.1 → flextool-4.6.3}/flextool/process_inputs/write_to_input_db.py +0 -0
  475. {flextool-4.6.1 → flextool-4.6.3}/flextool/process_outputs/__init__.py +0 -0
  476. {flextool-4.6.1 → flextool-4.6.3}/flextool/process_outputs/_annualize.py +0 -0
  477. {flextool-4.6.1 → flextool-4.6.3}/flextool/process_outputs/_csv_sidecars.py +0 -0
  478. {flextool-4.6.1 → flextool-4.6.3}/flextool/process_outputs/_excel_writer.py +0 -0
  479. {flextool-4.6.1 → flextool-4.6.3}/flextool/process_outputs/_fan_labels.py +0 -0
  480. {flextool-4.6.1 → flextool-4.6.3}/flextool/process_outputs/_inmemory_helpers.py +0 -0
  481. {flextool-4.6.1 → flextool-4.6.3}/flextool/process_outputs/_output_meta.py +0 -0
  482. {flextool-4.6.1 → flextool-4.6.3}/flextool/process_outputs/_ramp_inputs.py +0 -0
  483. {flextool-4.6.1 → flextool-4.6.3}/flextool/process_outputs/_sheet_names.py +0 -0
  484. {flextool-4.6.1 → flextool-4.6.3}/flextool/process_outputs/_timeline_breaks.py +0 -0
  485. {flextool-4.6.1 → flextool-4.6.3}/flextool/process_outputs/_unit_context.py +0 -0
  486. {flextool-4.6.1 → flextool-4.6.3}/flextool/process_outputs/calc_capacity_flows.py +0 -0
  487. {flextool-4.6.1 → flextool-4.6.3}/flextool/process_outputs/calc_connections.py +0 -0
  488. {flextool-4.6.1 → flextool-4.6.3}/flextool/process_outputs/calc_costs.py +0 -0
  489. {flextool-4.6.1 → flextool-4.6.3}/flextool/process_outputs/calc_group_flows.py +0 -0
  490. {flextool-4.6.1 → flextool-4.6.3}/flextool/process_outputs/calc_piecewise.py +0 -0
  491. {flextool-4.6.1 → flextool-4.6.3}/flextool/process_outputs/calc_ramp_envelope.py +0 -0
  492. {flextool-4.6.1 → flextool-4.6.3}/flextool/process_outputs/calc_slacks.py +0 -0
  493. {flextool-4.6.1 → flextool-4.6.3}/flextool/process_outputs/calc_storage_vre.py +0 -0
  494. {flextool-4.6.1 → flextool-4.6.3}/flextool/process_outputs/drop_levels.py +0 -0
  495. {flextool-4.6.1 → flextool-4.6.3}/flextool/process_outputs/handoff_writers.py +0 -0
  496. {flextool-4.6.1 → flextool-4.6.3}/flextool/process_outputs/out_ancillary.py +0 -0
  497. {flextool-4.6.1 → flextool-4.6.3}/flextool/process_outputs/out_capacity.py +0 -0
  498. {flextool-4.6.1 → flextool-4.6.3}/flextool/process_outputs/out_costs.py +0 -0
  499. {flextool-4.6.1 → flextool-4.6.3}/flextool/process_outputs/out_flowgroup.py +0 -0
  500. {flextool-4.6.1 → flextool-4.6.3}/flextool/process_outputs/out_flows.py +0 -0
  501. {flextool-4.6.1 → flextool-4.6.3}/flextool/process_outputs/out_group.py +0 -0
  502. {flextool-4.6.1 → flextool-4.6.3}/flextool/process_outputs/out_node.py +0 -0
  503. {flextool-4.6.1 → flextool-4.6.3}/flextool/process_outputs/persist_realized_slice.py +0 -0
  504. {flextool-4.6.1 → flextool-4.6.3}/flextool/process_outputs/process_results.py +0 -0
  505. {flextool-4.6.1 → flextool-4.6.3}/flextool/process_outputs/read_highs_solution.py +0 -0
  506. {flextool-4.6.1 → flextool-4.6.3}/flextool/process_outputs/read_parameters.py +0 -0
  507. {flextool-4.6.1 → flextool-4.6.3}/flextool/process_outputs/read_sets.py +0 -0
  508. {flextool-4.6.1 → flextool-4.6.3}/flextool/process_outputs/read_variables.py +0 -0
  509. {flextool-4.6.1 → flextool-4.6.3}/flextool/process_outputs/reduced_cells.py +0 -0
  510. {flextool-4.6.1 → flextool-4.6.3}/flextool/process_outputs/solve_order.py +0 -0
  511. {flextool-4.6.1 → flextool-4.6.3}/flextool/process_outputs/spinedb_replay.py +0 -0
  512. {flextool-4.6.1 → flextool-4.6.3}/flextool/process_outputs/union_realized_slice.py +0 -0
  513. {flextool-4.6.1 → flextool-4.6.3}/flextool/process_outputs/write_outputs.py +0 -0
  514. {flextool-4.6.1 → flextool-4.6.3}/flextool/process_outputs/write_spinedb.py +0 -0
  515. {flextool-4.6.1 → flextool-4.6.3}/flextool/project_package.py +0 -0
  516. {flextool-4.6.1 → flextool-4.6.3}/flextool/representative_periods/__init__.py +0 -0
  517. {flextool-4.6.1 → flextool-4.6.3}/flextool/representative_periods/clustering.py +0 -0
  518. {flextool-4.6.1 → flextool-4.6.3}/flextool/representative_periods/force_include.py +0 -0
  519. {flextool-4.6.1 → flextool-4.6.3}/flextool/representative_periods/netload.py +0 -0
  520. {flextool-4.6.1 → flextool-4.6.3}/flextool/representative_periods/netload_inputs.py +0 -0
  521. {flextool-4.6.1 → flextool-4.6.3}/flextool/representative_periods/netload_iterate.py +0 -0
  522. {flextool-4.6.1 → flextool-4.6.3}/flextool/representative_periods/preprocess.py +0 -0
  523. {flextool-4.6.1 → flextool-4.6.3}/flextool/representative_periods/scenario_stack.py +0 -0
  524. {flextool-4.6.1 → flextool-4.6.3}/flextool/representative_periods/weights.py +0 -0
  525. {flextool-4.6.1 → flextool-4.6.3}/flextool/run_options.py +0 -0
  526. {flextool-4.6.1 → flextool-4.6.3}/flextool/run_record/__init__.py +0 -0
  527. {flextool-4.6.1 → flextool-4.6.3}/flextool/run_record/_owner.py +0 -0
  528. {flextool-4.6.1 → flextool-4.6.3}/flextool/run_record/_status.py +0 -0
  529. {flextool-4.6.1 → flextool-4.6.3}/flextool/run_record/_tee.py +0 -0
  530. {flextool-4.6.1 → flextool-4.6.3}/flextool/run_warnings/_behaviour_specs.py +0 -0
  531. {flextool-4.6.1 → flextool-4.6.3}/flextool/safe_names.py +0 -0
  532. {flextool-4.6.1 → flextool-4.6.3}/flextool/scenario_comparison/__init__.py +0 -0
  533. {flextool-4.6.1 → flextool-4.6.3}/flextool/scenario_comparison/config_builder.py +0 -0
  534. {flextool-4.6.1 → flextool-4.6.3}/flextool/scenario_comparison/constants.py +0 -0
  535. {flextool-4.6.1 → flextool-4.6.3}/flextool/scenario_comparison/data_models.py +0 -0
  536. {flextool-4.6.1 → flextool-4.6.3}/flextool/scenario_comparison/db_reader.py +0 -0
  537. {flextool-4.6.1 → flextool-4.6.3}/flextool/scenario_comparison/dispatch_data.py +0 -0
  538. {flextool-4.6.1 → flextool-4.6.3}/flextool/scenario_comparison/dispatch_mappings.py +0 -0
  539. {flextool-4.6.1 → flextool-4.6.3}/flextool/scenario_comparison/dispatch_plots.py +0 -0
  540. {flextool-4.6.1 → flextool-4.6.3}/flextool/scenario_comparison/input_entity_colors.py +0 -0
  541. {flextool-4.6.1 → flextool-4.6.3}/flextool/scenario_comparison/orchestrator.py +0 -0
  542. {flextool-4.6.1 → flextool-4.6.3}/flextool/scenario_comparison/plan_union.py +0 -0
  543. {flextool-4.6.1 → flextool-4.6.3}/flextool/scenario_comparison/plot_settings_seed.py +0 -0
  544. {flextool-4.6.1 → flextool-4.6.3}/flextool/scenario_comparison/ramp_plots.py +0 -0
  545. {flextool-4.6.1 → flextool-4.6.3}/flextool/schemas/AXIS_CONTRACT.md +0 -0
  546. {flextool-4.6.1 → flextool-4.6.3}/flextool/schemas/canonical_databases/howto_aggregate_output.json +0 -0
  547. {flextool-4.6.1 → flextool-4.6.3}/flextool/schemas/canonical_databases/howto_connections.json +0 -0
  548. {flextool-4.6.1 → flextool-4.6.3}/flextool/schemas/canonical_databases/howto_demand.json +0 -0
  549. {flextool-4.6.1 → flextool-4.6.3}/flextool/schemas/canonical_databases/howto_hydro_reservoir.json +0 -0
  550. {flextool-4.6.1 → flextool-4.6.3}/flextool/schemas/canonical_databases/howto_hydro_reservoir_with_pump.json +0 -0
  551. {flextool-4.6.1 → flextool-4.6.3}/flextool/schemas/canonical_databases/howto_non_sync_and_curtailment.json +0 -0
  552. {flextool-4.6.1 → flextool-4.6.3}/flextool/schemas/canonical_databases/howto_ramp_and_start_up.json +0 -0
  553. {flextool-4.6.1 → flextool-4.6.3}/flextool/schemas/canonical_databases/howto_stochastics.json +0 -0
  554. {flextool-4.6.1 → flextool-4.6.3}/flextool/schemas/canonical_databases/templates_examples.json +0 -0
  555. {flextool-4.6.1 → flextool-4.6.3}/flextool/schemas/canonical_databases/templates_time_settings_only.json +0 -0
  556. {flextool-4.6.1 → flextool-4.6.3}/flextool/schemas/comparison_settings_template.json +0 -0
  557. {flextool-4.6.1 → flextool-4.6.3}/flextool/schemas/default_plot_settings.yaml +0 -0
  558. {flextool-4.6.1 → flextool-4.6.3}/flextool/schemas/default_plots.yaml +0 -0
  559. {flextool-4.6.1 → flextool-4.6.3}/flextool/schemas/flextool_axis_contract.json +0 -0
  560. {flextool-4.6.1 → flextool-4.6.3}/flextool/schemas/flextool_axis_contract.schema.json +0 -0
  561. {flextool-4.6.1 → flextool-4.6.3}/flextool/schemas/old_flextool_import_template.json +0 -0
  562. {flextool-4.6.1 → flextool-4.6.3}/flextool/schemas/output_info_template.json +0 -0
  563. {flextool-4.6.1 → flextool-4.6.3}/flextool/schemas/output_settings_template.json +0 -0
  564. {flextool-4.6.1 → flextool-4.6.3}/flextool/schemas/pre_v26/flextool_template_constant_default.json +0 -0
  565. {flextool-4.6.1 → flextool-4.6.3}/flextool/schemas/pre_v26/flextool_template_default_optional_output.json +0 -0
  566. {flextool-4.6.1 → flextool-4.6.3}/flextool/schemas/pre_v26/flextool_template_default_value.json +0 -0
  567. {flextool-4.6.1 → flextool-4.6.3}/flextool/schemas/pre_v26/flextool_template_drop_down.json +0 -0
  568. {flextool-4.6.1 → flextool-4.6.3}/flextool/schemas/pre_v26/flextool_template_lifetime_method.json +0 -0
  569. {flextool-4.6.1 → flextool-4.6.3}/flextool/schemas/pre_v26/flextool_template_optional_outputs.json +0 -0
  570. {flextool-4.6.1 → flextool-4.6.3}/flextool/schemas/pre_v26/flextool_template_output_node_flows.json +0 -0
  571. {flextool-4.6.1 → flextool-4.6.3}/flextool/schemas/pre_v26/flextool_template_results_master.json +0 -0
  572. {flextool-4.6.1 → flextool-4.6.3}/flextool/schemas/pre_v26/flextool_template_rolling_start_remove.json +0 -0
  573. {flextool-4.6.1 → flextool-4.6.3}/flextool/schemas/pre_v26/flextool_template_rolling_window.json +0 -0
  574. {flextool-4.6.1 → flextool-4.6.3}/flextool/schemas/pre_v26/flextool_template_storage_binding_defaults.json +0 -0
  575. {flextool-4.6.1 → flextool-4.6.3}/flextool/schemas/pre_v26/flextool_template_v2.json +0 -0
  576. {flextool-4.6.1 → flextool-4.6.3}/flextool/schemas/pre_v26/flextool_template_v25.json +0 -0
  577. {flextool-4.6.1 → flextool-4.6.3}/flextool/schemas/spinedb_results_schema.json +0 -0
  578. {flextool-4.6.1 → flextool-4.6.3}/flextool/schemas/spinedb_schema.json +0 -0
  579. {flextool-4.6.1 → flextool-4.6.3}/flextool/solver_config/copt.opt.template +0 -0
  580. {flextool-4.6.1 → flextool-4.6.3}/flextool/solver_config/cplex.opt.template +0 -0
  581. {flextool-4.6.1 → flextool-4.6.3}/flextool/solver_config/gurobi.opt.template +0 -0
  582. {flextool-4.6.1 → flextool-4.6.3}/flextool/solver_config/highs.opt.template +0 -0
  583. {flextool-4.6.1 → flextool-4.6.3}/flextool/solver_config/xpress.opt.template +0 -0
  584. {flextool-4.6.1 → flextool-4.6.3}/flextool/spinedb_backend/__init__.py +0 -0
  585. {flextool-4.6.1 → flextool-4.6.3}/flextool/spinedb_backend/_axis_enums.py +0 -0
  586. {flextool-4.6.1 → flextool-4.6.3}/flextool/spinedb_backend/_backend.py +0 -0
  587. {flextool-4.6.1 → flextool-4.6.3}/flextool/sqlite_url.py +0 -0
  588. {flextool-4.6.1 → flextool-4.6.3}/flextool/timeline_pieces.py +0 -0
  589. {flextool-4.6.1 → flextool-4.6.3}/flextool/units_of_measure.py +0 -0
  590. {flextool-4.6.1 → flextool-4.6.3}/flextool/update_flextool/__init__.py +0 -0
  591. {flextool-4.6.1 → flextool-4.6.3}/flextool/update_flextool/bundle_install.py +0 -0
  592. {flextool-4.6.1 → flextool-4.6.3}/flextool/update_flextool/canonical_databases.py +0 -0
  593. {flextool-4.6.1 → flextool-4.6.3}/flextool/update_flextool/db_handle.py +0 -0
  594. {flextool-4.6.1 → flextool-4.6.3}/flextool/update_flextool/ensure_settings_db.py +0 -0
  595. {flextool-4.6.1 → flextool-4.6.3}/flextool/update_flextool/export_database.py +0 -0
  596. {flextool-4.6.1 → flextool-4.6.3}/flextool/update_flextool/extend_tests_fixture.py +0 -0
  597. {flextool-4.6.1 → flextool-4.6.3}/flextool/update_flextool/fixture_schema.py +0 -0
  598. {flextool-4.6.1 → flextool-4.6.3}/flextool/update_flextool/generate_canonical.py +0 -0
  599. {flextool-4.6.1 → flextool-4.6.3}/flextool/update_flextool/initialize_database.py +0 -0
  600. {flextool-4.6.1 → flextool-4.6.3}/flextool/update_flextool/migrate_before_run.py +0 -0
  601. {flextool-4.6.1 → flextool-4.6.3}/flextool/update_flextool/migration_backup.py +0 -0
  602. {flextool-4.6.1 → flextool-4.6.3}/flextool/update_flextool/self_update.py +0 -0
  603. {flextool-4.6.1 → flextool-4.6.3}/flextool/update_flextool/sync_master_json_template.py +0 -0
  604. {flextool-4.6.1 → flextool-4.6.3}/flextool/update_flextool/test_fixtures.py +0 -0
  605. {flextool-4.6.1 → flextool-4.6.3}/flextool/user_dirs.py +0 -0
  606. {flextool-4.6.1 → flextool-4.6.3}/flextool.egg-info/dependency_links.txt +0 -0
  607. {flextool-4.6.1 → flextool-4.6.3}/flextool.egg-info/requires.txt +0 -0
  608. {flextool-4.6.1 → flextool-4.6.3}/flextool.egg-info/top_level.txt +0 -0
  609. {flextool-4.6.1 → flextool-4.6.3}/flextool_assistant_entry.py +0 -0
  610. {flextool-4.6.1 → flextool-4.6.3}/flextool_run_supervisor.py +0 -0
  611. {flextool-4.6.1 → flextool-4.6.3}/setup.cfg +0 -0
  612. {flextool-4.6.1 → flextool-4.6.3}/tests/test_bar_layout.py +0 -0
  613. {flextool-4.6.1 → flextool-4.6.3}/tests/test_bar_sub_pixel_labels.py +0 -0
  614. {flextool-4.6.1 → flextool-4.6.3}/tests/test_blocks.py +0 -0
  615. {flextool-4.6.1 → flextool-4.6.3}/tests/test_branch_weights.py +0 -0
  616. {flextool-4.6.1 → flextool-4.6.3}/tests/test_child_python_safe_path.py +0 -0
  617. {flextool-4.6.1 → flextool-4.6.3}/tests/test_child_run_argv.py +0 -0
  618. {flextool-4.6.1 → flextool-4.6.3}/tests/test_ci_shard.py +0 -0
  619. {flextool-4.6.1 → flextool-4.6.3}/tests/test_color_template.py +0 -0
  620. {flextool-4.6.1 → flextool-4.6.3}/tests/test_commodity_ladder_rolling.py +0 -0
  621. {flextool-4.6.1 → flextool-4.6.3}/tests/test_comparison_excel.py +0 -0
  622. {flextool-4.6.1 → flextool-4.6.3}/tests/test_comparison_project_root.py +0 -0
  623. {flextool-4.6.1 → flextool-4.6.3}/tests/test_comparison_results_registry.py +0 -0
  624. {flextool-4.6.1 → flextool-4.6.3}/tests/test_complete_period_share_reduction.py +0 -0
  625. {flextool-4.6.1 → flextool-4.6.3}/tests/test_connection_node_warnings.py +0 -0
  626. {flextool-4.6.1 → flextool-4.6.3}/tests/test_console_run_tool.py +0 -0
  627. {flextool-4.6.1 → flextool-4.6.3}/tests/test_cost_aggregation_semantics.py +0 -0
  628. {flextool-4.6.1 → flextool-4.6.3}/tests/test_cost_breakdown_by_entity.py +0 -0
  629. {flextool-4.6.1 → flextool-4.6.3}/tests/test_csv_dump_roundtrip.py +0 -0
  630. {flextool-4.6.1 → flextool-4.6.3}/tests/test_dc_power_flow.py +0 -0
  631. {flextool-4.6.1 → flextool-4.6.3}/tests/test_dependency_caps.py +0 -0
  632. {flextool-4.6.1 → flextool-4.6.3}/tests/test_dispatch_consumer_and_connection_signs.py +0 -0
  633. {flextool-4.6.1 → flextool-4.6.3}/tests/test_dispatch_multi_period.py +0 -0
  634. {flextool-4.6.1 → flextool-4.6.3}/tests/test_dispatch_node_debug_and_tree.py +0 -0
  635. {flextool-4.6.1 → flextool-4.6.3}/tests/test_dispatch_order_specials.py +0 -0
  636. {flextool-4.6.1 → flextool-4.6.3}/tests/test_dispatch_scenario_tag.py +0 -0
  637. {flextool-4.6.1 → flextool-4.6.3}/tests/test_ensure_settings_db.py +0 -0
  638. {flextool-4.6.1 → flextool-4.6.3}/tests/test_entity_unitsize_invariant.py +0 -0
  639. {flextool-4.6.1 → flextool-4.6.3}/tests/test_entity_universe_carrier.py +0 -0
  640. {flextool-4.6.1 → flextool-4.6.3}/tests/test_env_check.py +0 -0
  641. {flextool-4.6.1 → flextool-4.6.3}/tests/test_env_knob_registry.py +0 -0
  642. {flextool-4.6.1 → flextool-4.6.3}/tests/test_excel_text_cells.py +0 -0
  643. {flextool-4.6.1 → flextool-4.6.3}/tests/test_execution_log_lint.py +0 -0
  644. {flextool-4.6.1 → flextool-4.6.3}/tests/test_export_to_tabular.py +0 -0
  645. {flextool-4.6.1 → flextool-4.6.3}/tests/test_extend_tests_fixture.py +0 -0
  646. {flextool-4.6.1 → flextool-4.6.3}/tests/test_flowgroup_indicators.py +0 -0
  647. {flextool-4.6.1 → flextool-4.6.3}/tests/test_force_include.py +0 -0
  648. {flextool-4.6.1 → flextool-4.6.3}/tests/test_group_output_warnings.py +0 -0
  649. {flextool-4.6.1 → flextool-4.6.3}/tests/test_handoff_writers.py +0 -0
  650. {flextool-4.6.1 → flextool-4.6.3}/tests/test_input_entity_colors.py +0 -0
  651. {flextool-4.6.1 → flextool-4.6.3}/tests/test_lean_parquet.py +0 -0
  652. {flextool-4.6.1 → flextool-4.6.3}/tests/test_lh2_three_region.py +0 -0
  653. {flextool-4.6.1 → flextool-4.6.3}/tests/test_min_load_rolling.py +0 -0
  654. {flextool-4.6.1 → flextool-4.6.3}/tests/test_model_builder_invest.py +0 -0
  655. {flextool-4.6.1 → flextool-4.6.3}/tests/test_model_builder_special_functions.py +0 -0
  656. {flextool-4.6.1 → flextool-4.6.3}/tests/test_non_anticipativity.py +0 -0
  657. {flextool-4.6.1 → flextool-4.6.3}/tests/test_old_flextool_importer_schema_drift.py +0 -0
  658. {flextool-4.6.1 → flextool-4.6.3}/tests/test_open_results_db.py +0 -0
  659. {flextool-4.6.1 → flextool-4.6.3}/tests/test_output_column_metadata.py +0 -0
  660. {flextool-4.6.1 → flextool-4.6.3}/tests/test_output_csv_names.py +0 -0
  661. {flextool-4.6.1 → flextool-4.6.3}/tests/test_output_metadata_renderers.py +0 -0
  662. {flextool-4.6.1 → flextool-4.6.3}/tests/test_output_work_folder_isolation.py +0 -0
  663. {flextool-4.6.1 → flextool-4.6.3}/tests/test_parameter_group_coverage.py +0 -0
  664. {flextool-4.6.1 → flextool-4.6.3}/tests/test_period_share_of_year_output.py +0 -0
  665. {flextool-4.6.1 → flextool-4.6.3}/tests/test_piecewise_validation.py +0 -0
  666. {flextool-4.6.1 → flextool-4.6.3}/tests/test_plan_union.py +0 -0
  667. {flextool-4.6.1 → flextool-4.6.3}/tests/test_plot_draw_order.py +0 -0
  668. {flextool-4.6.1 → flextool-4.6.3}/tests/test_plot_gaps.py +0 -0
  669. {flextool-4.6.1 → flextool-4.6.3}/tests/test_plot_pipeline.py +0 -0
  670. {flextool-4.6.1 → flextool-4.6.3}/tests/test_plot_plan_chunk_reconstruction.py +0 -0
  671. {flextool-4.6.1 → flextool-4.6.3}/tests/test_plot_plan_time_labels_roundtrip.py +0 -0
  672. {flextool-4.6.1 → flextool-4.6.3}/tests/test_plot_settings_seed.py +0 -0
  673. {flextool-4.6.1 → flextool-4.6.3}/tests/test_project_package_cli.py +0 -0
  674. {flextool-4.6.1 → flextool-4.6.3}/tests/test_ramp_histogram.py +0 -0
  675. {flextool-4.6.1 → flextool-4.6.3}/tests/test_read_highs_solution.py +0 -0
  676. {flextool-4.6.1 → flextool-4.6.3}/tests/test_recourse_cost_reconciliation.py +0 -0
  677. {flextool-4.6.1 → flextool-4.6.3}/tests/test_regional_filter.py +0 -0
  678. {flextool-4.6.1 → flextool-4.6.3}/tests/test_representative_periods.py +0 -0
  679. {flextool-4.6.1 → flextool-4.6.3}/tests/test_rolling_online_carry.py +0 -0
  680. {flextool-4.6.1 → flextool-4.6.3}/tests/test_rolling_online_mintime_carry.py +0 -0
  681. {flextool-4.6.1 → flextool-4.6.3}/tests/test_rolling_online_minuptime.py +0 -0
  682. {flextool-4.6.1 → flextool-4.6.3}/tests/test_rp_alternative_name.py +0 -0
  683. {flextool-4.6.1 → flextool-4.6.3}/tests/test_rp_force_include_wiring.py +0 -0
  684. {flextool-4.6.1 → flextool-4.6.3}/tests/test_rp_solves_filter.py +0 -0
  685. {flextool-4.6.1 → flextool-4.6.3}/tests/test_run_options.py +0 -0
  686. {flextool-4.6.1 → flextool-4.6.3}/tests/test_safe_names.py +0 -0
  687. {flextool-4.6.1 → flextool-4.6.3}/tests/test_safe_text.py +0 -0
  688. {flextool-4.6.1 → flextool-4.6.3}/tests/test_scenario_colors.py +0 -0
  689. {flextool-4.6.1 → flextool-4.6.3}/tests/test_scenario_stack.py +0 -0
  690. {flextool-4.6.1 → flextool-4.6.3}/tests/test_scenarios.py +0 -0
  691. {flextool-4.6.1 → flextool-4.6.3}/tests/test_self_describing_reader.py +0 -0
  692. {flextool-4.6.1 → flextool-4.6.3}/tests/test_shared_axis_manifest.py +0 -0
  693. {flextool-4.6.1 → flextool-4.6.3}/tests/test_simple_bar_entity_color.py +0 -0
  694. {flextool-4.6.1 → flextool-4.6.3}/tests/test_solve_config.py +0 -0
  695. {flextool-4.6.1 → flextool-4.6.3}/tests/test_solve_reader.py +0 -0
  696. {flextool-4.6.1 → flextool-4.6.3}/tests/test_specification_excel_import.py +0 -0
  697. {flextool-4.6.1 → flextool-4.6.3}/tests/test_sqlite_url.py +0 -0
  698. {flextool-4.6.1 → flextool-4.6.3}/tests/test_stochastic_co2_total_price.py +0 -0
  699. {flextool-4.6.1 → flextool-4.6.3}/tests/test_stream_concat_temp_cleanup.py +0 -0
  700. {flextool-4.6.1 → flextool-4.6.3}/tests/test_support_load.py +0 -0
  701. {flextool-4.6.1 → flextool-4.6.3}/tests/test_synthesize_invest_dual.py +0 -0
  702. {flextool-4.6.1 → flextool-4.6.3}/tests/test_thread_budget.py +0 -0
  703. {flextool-4.6.1 → flextool-4.6.3}/tests/test_time_runs.py +0 -0
  704. {flextool-4.6.1 → flextool-4.6.3}/tests/test_timeline_breaks.py +0 -0
  705. {flextool-4.6.1 → flextool-4.6.3}/tests/test_timings_csv.py +0 -0
  706. {flextool-4.6.1 → flextool-4.6.3}/tests/test_toolbox_specs.py +0 -0
  707. {flextool-4.6.1 → flextool-4.6.3}/tests/test_unidirectional_connection.py +0 -0
  708. {flextool-4.6.1 → flextool-4.6.3}/tests/test_unit_online_dt_columns.py +0 -0
  709. {flextool-4.6.1 → flextool-4.6.3}/tests/test_units_of_measure.py +0 -0
  710. {flextool-4.6.1 → flextool-4.6.3}/tests/test_units_of_measure_validators.py +0 -0
  711. {flextool-4.6.1 → flextool-4.6.3}/tests/test_user_dirs_isolation.py +0 -0
  712. {flextool-4.6.1 → flextool-4.6.3}/tests/test_v52_migration.py +0 -0
  713. {flextool-4.6.1 → flextool-4.6.3}/tests/test_v63_migration.py +0 -0
  714. {flextool-4.6.1 → flextool-4.6.3}/tests/test_v64_migration.py +0 -0
  715. {flextool-4.6.1 → flextool-4.6.3}/tests/test_v65_migration.py +0 -0
  716. {flextool-4.6.1 → flextool-4.6.3}/tests/test_v66_migration.py +0 -0
  717. {flextool-4.6.1 → flextool-4.6.3}/tests/test_v67_migration.py +0 -0
  718. {flextool-4.6.1 → flextool-4.6.3}/tests/test_v68_migration.py +0 -0
  719. {flextool-4.6.1 → flextool-4.6.3}/tests/test_v69_migration.py +0 -0
  720. {flextool-4.6.1 → flextool-4.6.3}/tests/test_v70_migration.py +0 -0
  721. {flextool-4.6.1 → flextool-4.6.3}/tests/test_workdir_empty_default.py +0 -0
  722. {flextool-4.6.1 → flextool-4.6.3}/tests/test_xlsx_startup_input_round_trip.py +0 -0
  723. {flextool-4.6.1 → flextool-4.6.3}/tests/test_xlsx_v77_round_trip.py +0 -0
  724. {flextool-4.6.1 → flextool-4.6.3}/tests/test_xlsx_workflow.py +0 -0
  725. {flextool-4.6.1 → flextool-4.6.3}/tests/test_years_represented.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: flextool
3
- Version: 4.6.1
3
+ Version: 4.6.3
4
4
  Summary: IRENA FlexTool is an energy and power systems model for understanding the role of variable power generation in future energy systems.
5
5
  Author: IRENA FlexTool contributors
6
6
  License: © International Renewable Energy Agency 2018-2022
@@ -904,6 +904,11 @@ network_graph.py Network-topology figure builder.
904
904
  check_tree.py CheckTreeController.
905
905
  hover_tooltip.py / tree_reorder.py / downsampling.py / cli_format.py / scenario_key.py / config_parser.py
906
906
  dialogs/ Add / project / plot / file-picker dialogs.
907
+ dialogs/_modal_base.py ModalBase + ModalGrab: the shared modal base (deferred grab, shield).
908
+ dialogs/message_box.py The one FlexTool box: tell / ask / name_list (no native messagebox).
909
+ dialogs/message_list_window.py Non-modal message list window + MessageListController (indicator, auto-show).
910
+ messages.py Tk-free message list core: specs, per-user store, MessageCenter.
911
+ message_sources.py The list's sources (W-0490, upgraded, unreadable, solver settings, update).
907
912
  ```
908
913
 
909
914
  ### `flextool/update_flextool/` — migration and updates
@@ -44,6 +44,31 @@ Each project lives in `projects/<name>/` and owns its own input sources, executi
44
44
 
45
45
  F2 or double-click on the drop-down renames the current project. The most recently used project is reopened on the next launch.
46
46
 
47
+ ## Messages
48
+
49
+ The **Messages** button at the top right opens the list of FlexTool's notices about the open project, its databases and this installation. The button shows how many messages there are, and it is highlighted while a message needs your attention or is new. The list shows one message at a time: **Previous** and **Next** page through them, and **Open documentation** opens the page that explains the message.
50
+
51
+ When you open a project or press **Refresh**, the list opens by itself if a message is waiting that you have not seen yet. It also opens by itself when a database that needs checking is added. Otherwise only the button changes, so the list never pops up over a run.
52
+
53
+ - **Close for now** (or Escape) closes the list. The messages come back the next time you open the project or start FlexTool.
54
+ - **Dismiss** removes a message for good. Only messages that report something have it, such as "This database was upgraded" or "A newer FlexTool is available".
55
+ - A message without **Dismiss** stays as long as its cause does, and says in its text what ends it.
56
+
57
+ A message that only reports something opens the list by itself at the first two project opens; after that it waits in the list until you dismiss it. A message that needs your attention ("Please check this database", "FlexTool cannot read this database file") opens the list at every project open.
58
+
59
+ The list can show:
60
+
61
+ - **Please check this database**: the database may have been changed by a library bug when it was upgraded ([W-0490](reference/warnings.md#w-0490)). It also appears, with a general text, for a database whose upgrade history FlexTool cannot read (it reads it again at each refresh). It has no **Dismiss**: it ends only when a repaired copy is in the database's place. **Copy repair command** copies the command that repairs this database; paste it into a terminal (PowerShell on Windows) and follow [Repairing a value list (W-0490)](terminal_workflow.md#repairing-a-value-list-w-0490). The repair tool writes a repaired copy and never changes the database itself. On Linux, paste the command before you close FlexTool: the copied text is lost when FlexTool exits.
62
+ - **Shipped defaults lost in an old upgrade**: an upgrade of this database before FlexTool 4.6.3 left some list-valued defaults empty ([W-0491](reference/warnings.md#w-0491)). Results can differ only in how storage nodes start and end (`storage_start_end_method`); the text says whether that applies. It has no **Dismiss** and opens the list by itself at the first two project opens; it ends only when the database holds the repair tool's record, so use the copy the tool writes in place of the database. **Copy repair command** works as above.
63
+ - **FlexTool cannot read this database file**: the data version or the frozen marker of a database could not be read. It goes away once FlexTool can read the file.
64
+ - **This database was upgraded** (one per database): FlexTool upgraded it to the current data version (see [Migration and frozen databases](#migration-and-frozen-databases)).
65
+ - **This project's solver settings were updated**: see [Solver options → On this computer](#solver-options-on-this-computer).
66
+ - **A newer FlexTool is available**: see [Update notifications](install_gui.md#update-notifications).
67
+
68
+ A red row in the **Input sources** list is a file FlexTool cannot use. When the list has a message about that database, the row's tooltip says so, and double-clicking the row (or pressing Enter on it) opens the list at that message.
69
+
70
+ Dismissals are kept per user in `gui_messages.json` in FlexTool's user settings folder (`~/.config/flextool/` on Linux, `%LOCALAPPDATA%\flextool\` on Windows, `~/Library/Application Support/flextool/` on macOS), never in a database. A database is known by its full path, so a copy of a database starts with no dismissals. To bring back every dismissed message, close FlexTool and delete that file.
71
+
47
72
  ## Input sources
48
73
 
49
74
  The **Input sources** panel lists every `.sqlite` and `.xlsx` file in the project's `input_sources/` directory plus any registered external references. Each input source contributes one or more scenarios.
@@ -62,14 +87,14 @@ Right-click a row for the same actions as the buttons. Column headers sort the l
62
87
 
63
88
  ### Migration and frozen databases
64
89
 
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.
90
+ 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 upgrade it in place or copy it into the project first (**Upgrade in place**, **Copy into project and upgrade**, the default, or **Cancel**). 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. After an upgrade, the [message list](#messages) has a "This database was upgraded" message for each upgraded database, with its data versions before and after; an upgrade that failed gets a box at once.
66
91
 
67
92
  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
93
 
69
94
  When a frozen source is older than this FlexTool (or has an older SpineDB schema), the refresh asks what to do with it. A frozen source newer than this FlexTool is left as it is; running it asks you to update FlexTool.
70
95
 
71
- - **Migrate a copy** (default): the copy, `input_sources/<name>_v<version>.sqlite`, is migrated and added as a new input source. It has its own source number, so its results go to new result folders. The copy is not frozen; it records the label, the old version and the SHA-256 of the frozen file it was made from. The frozen file stays unchanged and is not asked about again while the copy is there.
72
- - **Migrate in place**: after a second confirm, the frozen file itself is migrated. Its frozen marker is kept with the new version.
96
+ - **Upgrade a copy** (default): the copy, `input_sources/<name>_v<version>.sqlite`, is migrated and added as a new input source. It has its own source number, so its results go to new result folders. The copy is not frozen; it records the label, the old version and the SHA-256 of the frozen file it was made from. The frozen file stays unchanged and is not asked about again while the copy is there.
97
+ - **Upgrade in place**: after a second confirm, the frozen file itself is migrated. Its frozen marker is kept with the new version.
73
98
  - **Cancel**: the source is not migrated. Until the project is reopened (or FlexTool restarted) it shows ❄✗ (frozen, older version), its scenarios are not listed and it is not asked about again; right-click → **Migrate frozen database…** asks again.
74
99
 
75
100
  Editing a frozen database in the database editor is not prevented; a frozen database is protected from migration only.
@@ -96,7 +96,7 @@ Typically the model does not want to produce extra energy as it usually has cost
96
96
 
97
97
  *Variable_cost_only* can be used when there are no losses associated with the flow. It allows costs related to the flow, but if losses are to be included, it should not be used.
98
98
 
99
- The *no_losses_no_variable_cost* can be used when the connection has no losses and no variable costs accociated with the flow. It is computationally the most efficient method, as it uses only one variable for the flow (the variable becomes negative for the other direction, but this can work only when there are no losses or variable costs). It also prevents simultanoues flow to both directions.
99
+ The *no_losses_no_variable_cost* can be used when the connection has no losses and no variable costs associated with the flow. It is computationally the most efficient method, as it uses only one variable for the flow (the variable becomes negative for the other direction), so the flow cannot go both ways at the same time. One flow variable also cannot model losses or variable costs: its `other_operational_cost` is ignored (W-0590), and so is its `efficiency` (W-0591), unless the two nodes have different `unit_of_measure` values: then the `efficiency` is a conversion between the units that applies in both directions (e.g. MWh to t; W-0589).
100
100
 
101
101
  The *unidirectional* method restricts the flow to one direction only (from the first node to the second node in `connection__node__node`). It uses a single non-negative variable and supports `efficiency` and `other_operational_cost` in the usual way. Useful for one-way transmission such as controllable HVDC links or commodity pipelines.
102
102
 
@@ -54,7 +54,7 @@ Large systems that naturally split into regions (e.g. an interconnected pan-cont
54
54
 
55
55
  Set up the regions in the database:
56
56
 
57
- - create one `group` per region, list its `node` members via `group__node`
57
+ - create one `group` per region, list its `node` members via `group__node`; units and connections belong to the region of their nodes (listing them with `group__unit` / `group__connection` is optional). A unit that is not listed and converts through the unit itself (several inputs or outputs, or one input and one output with a `piecewise_linear_efficiency` curve of two or more segments) must have all its nodes in one region. A unit with one input and one output and a single efficiency (one direct flow) is cut between two regions like a connection, unless it has online variables (a `startup_method`) or reserves: then it is refused, as such a connection is. A one-variable connection (`no_losses_no_variable_cost`) between regions works in both directions; a DC power-flow line (`dc_power_flow_with_angles`) between regions is refused: put both its nodes in one region
58
58
  - set the group parameter `decomposition_method` to *benders_regional* on each region group
59
59
  - declare at least two such region groups in the active scenario
60
60
 
@@ -176,7 +176,7 @@ The dialog has an **Install Spine Toolbox** checkbox. Spine Toolbox is a large,
176
176
 
177
177
  ### Update notifications
178
178
 
179
- By default FlexTool makes one lightweight check at startup — against PyPI, or your git remote for a git checkout — for a newer version. When one is available the **Update FlexTool…** button is highlighted. The check fails silently if you are offline or the network is restricted.
179
+ By default FlexTool makes one lightweight check at startup — against PyPI, or your git remote for a git checkout — for a newer version. When one is available the **Update FlexTool…** button is highlighted. For a FlexTool installed from PyPI, the [message list](flextool_gui_interface.md#messages) also shows "A newer FlexTool is available" until you update or dismiss it. The check fails silently if you are offline or the network is restricted.
180
180
 
181
181
  To disable it, untick **Check for updates on startup** in the Update FlexTool dialog (the choice is remembered), or set the environment variable `FLEXTOOL_NO_UPDATE_CHECK=1` to suppress the check entirely.
182
182
 
@@ -4,7 +4,10 @@ Connections can transfer energy between two nodes. Parameters for the connection
4
4
 
5
5
  ## Defining how the connection functions
6
6
 
7
- - `transfer_method` to define the way the connection transfers energy between the nodes
7
+ - `transfer_method` to define the way the connection transfers energy between the nodes: *regular* (default), *exact*, *variable_cost_only*, *no_losses_no_variable_cost* or *unidirectional* (see [the basics](../how_to/basics.md)). A *no_losses_no_variable_cost* connection (and a line of a `dc_power_flow_with_angles` group, which uses it internally) carries both directions in one signed flow, so it cannot have different values in the two directions:
8
+ - it cannot model losses (a loss one way would be a gain the other way), so its `efficiency` is ignored (treated as 1, with a warning: W-0591) when the two nodes have the same `unit_of_measure` or either has none, and always on a line of a `dc_power_flow_with_angles` group. For losses, use *regular* or *exact*.
9
+ - between nodes with different `unit_of_measure` values, the `efficiency` is a conversion between the units (e.g. MWh to t), the same in both directions: the flow f arriving at the second node takes f / `efficiency` from the first, and in the reverse direction the first node gets f / `efficiency` for the f taken from the second. FlexTool warns about it (W-0589).
10
+ - its `other_operational_cost` is ignored (it would be a cost one way and a revenue the other), with a warning (W-0590). For a variable cost, use *variable_cost_only*, *regular* or *exact*.
8
11
  - `startup_method` gives the connection online capacity. *linear*: the online capacity is anything between 0 and the built capacity; *binary*: whole units of the connection (of `virtual_unitsize`, else the whole connection), computationally more demanding. The connection's flow in each direction is limited by its online capacity × availability, its reserve by its online capacity, and `startup_cost` is paid per MW brought online. Connections have no minimum load or minimum up/down times. Not available for connections in a `dc_power_flow_with_angles` group, other than `is_DC` connections (an error: switching a DC power-flow line off would need line-switching constraints).
9
12
  - `invest_method` to define investment and retirement limits: either *not_allowed* or then a combination of
10
13
  - *invest* and/or *retire*
@@ -16,7 +19,7 @@ Connections can transfer energy between two nodes. Parameters for the connection
16
19
  ## Main data items for connections
17
20
 
18
21
  - `existing` - [MW or count] Existing capacity or number of units. If `virtual_unitsize` is given, then `existing` is the number of units (capacity = `existing` × `virtual_unitsize`). Otherwise `existing` is the existing capacity of a single unit (typically in MW). Constant or period.
19
- - `efficiency` - [factor, typically between 0-1] Efficiency of a connection. Constant, period, time or period+time.
22
+ - `efficiency` - [factor, typically between 0-1] Efficiency of a connection. Constant, period, time or period+time. On a *no_losses_no_variable_cost* connection it is ignored, or a unit conversion that applies in both directions between nodes in different units (see `transfer_method`).
20
23
  - `delay` - [hours] Not yet applied to connections (planned). A connection `delay` is ignored: the connection is modelled exactly as if no delay were set (the flow arrives in the same time step) and the model prints a warning naming the connection. To model a delayed flow between two nodes, use a unit with `delay` instead.
21
24
  - `startup_cost` - [CUR/MW] Cost of starting up one MW of capacity (used when `startup_method` activates online variables on the connection). Constant or period.
22
25
  - `reactance` - [p.u.] Per-unit reactance of the transmission line. Used for DC power flow when the enclosing `group__node` has `transfer_method = dc_power_flow_with_angles`.
@@ -26,7 +29,7 @@ Connections can transfer energy between two nodes. Parameters for the connection
26
29
  - `constraint_retired_capacity_coeff` - A map of coefficients (Index: constraint name, value: coefficient). Puts the capacity retired in each period on the left side of the user constraint. Coefficient per MW. See [User constraints](user_constraints.md).
27
30
  - `constraint_in_construction_capacity_coeff` - A map of coefficients (Index: constraint name, value: coefficient). Puts the capacity in construction in each period on the left side of the user constraint. Capacity is in construction from the period of the investment decision until it comes online. It is zero without a construction lead time. Coefficient per MW. See [User constraints](user_constraints.md).
28
31
  - `constraint_online_coeff` - [unit of the constraint per unit online] A map of coefficients (Index: constraint name, value: coefficient). Puts the number of units of the connection online in each time step (both directions together) on the left side of the user constraint. One unit is `virtual_unitsize`; without it, the largest `existing` capacity, else 1000 MW — set `virtual_unitsize` on a connection that is invested in. Needs `startup_method` *linear* or *binary*; a coefficient on a connection without it is an error. With *linear* startup the number is continuous. For MW online, use the unit size as the coefficient. See [User constraints](user_constraints.md).
29
- - `other_operational_cost` - [CUR/MWh] Other operational variable cost for trasferring over the connection. Constant, period, time or period+time.
32
+ - `other_operational_cost` - [CUR/MWh] Other operational variable cost for trasferring over the connection. Constant, period, time or period+time. Ignored on a *no_losses_no_variable_cost* connection (see `transfer_method`).
30
33
  - `fixed_cost` - [CUR/kW/a] Annual fixed cost. New capacity pays it only while it operates. Constant or period.
31
34
  - `invest_cost` - [CUR/kW] Overnight investment cost of new capacity. It is annualized over `payback_time` with `discount_rate`; with `lifetime_method` *reinvest_choice* or *no_reinvestment* that annuity is spread evenly over `lifetime_technical` and paid for each year the capacity is in service (with *reinvest_automatic*: each replacement at the `invest_cost` of the period it comes online, for its years in service). Construction time costs with their interest must be included here. Constant or period: the value of the period when the capacity is built (comes online) is used.
32
35
  - `discount_rate` - [e.g. 0.05 equals 5%] Discount rate for investments (WACC). Reflects the financing cost and risk for this technology. In the same terms as the cost inputs: a real rate for inputs in real prices, a nominal rate for nominal inputs. Not the model's `social_discount_rate`, which weighs costs over time. Constant or period.
@@ -74,7 +74,7 @@ The margin of a *relative_of_peak_demand* group is `capacity_margin_relative` ×
74
74
 
75
75
  With representative periods, the row holds at the sampled time steps only, and the storage that counts is the storage of the sampled days: force-include the peak days. Over a coarse time step (`new_stepduration`) the row may be averaged (see below).
76
76
 
77
- Under spatial Benders decomposition (`decomposition_method` *benders_regional*), a capacity margin group (and an inertia or non-synchronous group) with nodes in more than one region is an error: each region would have to hold the whole margin. Use one group per region. The same holds for a group investment, retirement or cumulative-capacity limit with a value set (a method alone makes no limit): a minimum over entities of more than one region is an error, and so is a maximum (each region could use all of it), except a maximum of 0, which splits exactly. A flow limit of a flowGroup, or a user constraint's `constraint_flow_coeff`, on a connection between two regions is an error too: the decomposition replaces that connection with import and export flows in each region, which neither sees.
77
+ Under spatial Benders decomposition (`decomposition_method` *benders_regional*), a capacity margin group (and an inertia or non-synchronous group) with nodes in more than one region is an error: each region would have to hold the whole margin. Use one group per region. The same holds for a group investment, retirement or cumulative-capacity limit with a value set (a method alone makes no limit): a minimum over entities of more than one region is an error, and so is a maximum (each region could use all of it), except a maximum of 0, which splits exactly. A flow limit of a flowGroup, or a user constraint's `constraint_flow_coeff`, on a connection between two regions is an error too: the decomposition replaces that connection with import and export flows in each region, which neither sees. A unit whose nodes are in more than one region, that no region group lists and that converts through the unit itself (several inputs or outputs, or one input and one output with a `piecewise_linear_efficiency` curve of two or more segments), is an error as well; put its nodes in one region. A unit with one input and one output and a single efficiency (one direct flow) between two regions is cut like a connection, except with online variables (a `startup_method`) or reserves, which are an error, as they are on a connection between regions. A DC power-flow line (a connection between two nodes of a `dc_power_flow_with_angles` group) between two regions, or between a region and the master, is an error: the decomposition cannot carry the voltage angles across the regions. Put both nodes of the line in one region, or take the nodes out of the `dc_power_flow_with_angles` group. A one-variable connection (`no_losses_no_variable_cost`) between regions works in both directions.
78
78
 
79
79
  ## CO2 costs and limits
80
80
 
@@ -85,6 +85,7 @@ After `pip install -e .` or `pip install .`, these commands are available direct
85
85
  | `flextool-read-old` | `flextool.cli.cmd_read_old_flextool:main` |
86
86
  | `flextool-migrate-database` | `flextool.cli.cmd_migrate_database:main` |
87
87
  | `flextool-freeze` | `flextool.cli.cmd_freeze_database:main` |
88
+ | `flextool-repair-value-list` | `flextool.cli.cmd_repair_value_list:main` (repair a database that warning W-0490 names, and restore shipped defaults an old upgrade left empty: [Repairing a value list](#repairing-a-value-list-w-0490)) |
88
89
  | `flextool-project` | `flextool.cli.cmd_project_package:main` |
89
90
  | `flextool-time-runs` | `flextool.cli.cmd_time_runs:main` |
90
91
  | `flextool-trust-workspace` | `flextool.cli.cmd_trust_workspace:main` (trust a workspace's or project's solver option files on this computer: [Which option folders are trusted](solvers/index.md#which-option-folders-are-trusted)) |
@@ -522,6 +523,61 @@ flextool-freeze input.sqlite --unfreeze
522
523
 
523
524
  Freezing writes into the file, so take the SHA-256 of the released file after freezing it. Editing a frozen database (in the database editor, or by importing data into it) is not prevented.
524
525
 
526
+ ### Repairing a value list (W-0490)
527
+
528
+ Warning [W-0490](reference/warnings.md#w-0490) says that an old Spine library may have overwritten the `not_allowed` member of the `invest_methods` value list when the database was upgraded (with it, the class defaults and values that were `not_allowed` now read `cumulative_limits`, which lets those entities invest without limit). `flextool-repair-value-list` repairs such a database. In the same run it also restores list-valued defaults (such as `conversion_method` or `solve_mode`) that an upgrade before FlexTool 4.6.3 left empty.
529
+
530
+ ```bash
531
+ flextool-repair-value-list "C:\models\my_model.sqlite"
532
+ # or, with the Python of FlexTool's environment:
533
+ python -P -m flextool.cli.cmd_repair_value_list "C:\models\my_model.sqlite"
534
+ ```
535
+
536
+ In PowerShell, quote with single quotes: `flextool-repair-value-list 'C:\models\my_model.sqlite'` (a full path to `python.exe` needs `&` in front: `& 'C:\FlexTool\venv\Scripts\python.exe' -P -m flextool.cli.cmd_repair_value_list 'C:\models\my_model.sqlite'`). In Command Prompt, a path that contains `%NAME%` of an existing environment variable is expanded by cmd even inside quotes; use PowerShell for such a path.
537
+
538
+ **The database itself is never changed.** The tool works on a private copy and writes the repaired copy `<name>_repaired.sqlite` next to the database (`--output PATH` for another name; an existing file is never overwritten), with two side files: `<name>_repaired.sqlite.value_list_repair.csv` (the answers it applied) and `<name>_repaired.sqlite.value_list_repair.txt` (a report of every change). Close Spine Toolbox and the FlexTool window before running it on a database they have open.
539
+
540
+ **Questions.** The tool asks one question per group of similar items, and **Enter** takes the suggestion:
541
+
542
+ - a **class default** (`invest_method` of unit, connection and node, or an empty shipped default): the suggestion is FlexTool's shipped default, which is strongly recommended (a missing or different class default can lead to unwanted behaviour);
543
+ - a **value** saved before the upgrade that read `not_allowed`: the suggestion is `not_allowed` (marked "certain");
544
+ - a **value** saved after the upgrade: there is no suggestion, because nobody can tell from the file whether `cumulative_limits` was meant. Check it against your notes or Excel input;
545
+ - a **storage node** (restoring empty defaults, see below): no answer is recommended.
546
+
547
+ The keys: `k` keeps the current value, `set:<member>` sets that member (a number works too where the question lists the members), `x` skips, `e` answers each item of a group one by one, `q` quits. A summary and a confirmation come before anything is written. If you quit, the answers so far go to `<name>_repaired.sqlite.value_list_answers.csv` (next to the database, or in the current folder if that folder cannot be written): finish them there and run the tool with `--answers` (see below).
548
+
549
+ **Answering in a file (dry run, answers, apply).** Without a terminal, or to think the answers over:
550
+
551
+ ```bash
552
+ flextool-repair-value-list my_model.sqlite --dry-run --write-answers answers.csv
553
+ # fill in the "answer" column: keep, set:<member> or skip (empty = skip)
554
+ flextool-repair-value-list my_model.sqlite --answers answers.csv
555
+ ```
556
+
557
+ The file is UTF-8 with `,` between columns. Excel with a Finnish (or other `;`) locale opens it as one column on a double-click; open it instead from Excel's **Data → From Text/CSV** (choose "65001: Unicode (UTF-8)" and the comma delimiter, then **Load**), or edit it in any text editor. Save it as **CSV UTF-8**: the tool reads `,` and `;`. Edit only the `answer` column. The `file_key` column ties the file to this database: a file made for another copy (even a copy of the same database with more changes) is refused. `--accept-certain` answers only the items marked "certain" with their suggestion; class defaults and storage questions are always asked.
558
+
559
+ **An older copy as evidence.** If you have a copy of the database from before the upgrade (data version 21 or older), add `--archive "<old copy>"`: where the old copy proves what a value was, the tool marks it "certain". A copy the tool cannot use is refused, and the message says why.
560
+
561
+ **Exit codes.**
562
+
563
+ | Code | Meaning |
564
+ |---|---|
565
+ | 0 | The repaired copy was written (with or without a repair record), or there was nothing to do, or the file has no migration history (W-0490 does not apply), or the copy was already repaired, or a dry run finished |
566
+ | 1 | You quit (the answers so far are in the answers file) or did not confirm `--checked-by-hand`, or the file, the answers file, the archive or `--checked-by-hand` was refused; the message says why |
567
+ | 2 | The command line was wrong |
568
+ | 3 | Answers are needed, but there is no terminal and no `--answers` file (the message gives the three steps above), or `--checked-by-hand` without a terminal and without `--yes` |
569
+ | 4 | The list matches no pattern the tool knows: nothing was written; use the checklist of [W-0490](reference/warnings.md#w-0490), then `--checked-by-hand` (below) |
570
+
571
+ **The repair record ends the warning.** When every item has an answer (`keep` counts as an answer; `skip` does not), the copy holds a record of the repair, and W-0490 and the GUI's "Please check this database" message stop for that copy. A run with a skipped item still writes the other answers, but no record: the warning stays until every item has an answer. Running the tool again on a repaired copy asks nothing and lists the items you kept. To change the decisions, run it again on the original database. A database you fixed by hand (for example by renaming the member back to `not_allowed`) needs one tool run to record the repair; it asks only about what the hand fix does not settle.
572
+
573
+ **A list the tool cannot read (exit code 4).** First go through the checklist of [W-0490](reference/warnings.md#w-0490) on the database. If the tool still gives exit code 4, run it with `--checked-by-hand`: you confirm that you have checked every item of the checklist by hand (type `yes` at the question; without a terminal, add `--yes`). The tool then changes no value for W-0490: it only writes the repair record into the repaired copy, so W-0490 ends for that copy. Empty shipped defaults (below) are still asked about as usual. The option is refused for a database the tool can read (run it without the option), while the list still lacks a member (steps 2-3), and for a database with several W-0490 sessions (please report such a file).
574
+
575
+ **Swapping the repaired copy in.** Check the report, run a scenario on the repaired copy and compare the investments with earlier results. Then close Spine Toolbox and the FlexTool window, move the original out of the way (keep it as the backup) and rename `<name>_repaired.sqlite` to the original name. In a FlexTool GUI project the database is in the project's `input_sources/` folder, so the repaired copy appears there as one more input source until you swap it in; keep the backup outside `input_sources/`, or it is listed as an input source too.
576
+
577
+ **Restoring empty shipped defaults.** An upgrade with FlexTool before 4.6.3 could leave list-valued class defaults (such as `conversion_method`, `invest_method`, `solve_mode`) empty. The tool offers FlexTool's shipped default for each empty one (Enter = restore). This changes no result: FlexTool already uses the shipped default when none is stored. One effect of that old upgrade is different: a storage node that relied on the old `storage_start_end_method` default `fix_start` and had its own start value kept its start fixed in an unaffected database, but this database leaves it free. The tool lists such nodes and asks, for each, whether to fix the start (`set:fix_start`) or keep it free (`k`). **No answer is recommended**: many models bind storage with `storage_binding_method` instead of fixing the start, so check how your model is meant to work. Until every storage question has an answer, the default of `storage_start_end_method` stays empty (the summary says so) and the tool asks again at its next run. These defaults have their own repair record; a default emptied again later is asked again. Until a copy holds that record, each run and the GUI give note [W-0491](reference/warnings.md#w-0491) for the database (the GUI message "Shipped defaults lost in an old upgrade" has no Dismiss); only the record ends it, also when you keep some defaults empty (`k`).
578
+
579
+ **Limits.** Removing the database's metadata (for example with a Spine Toolbox purge) removes the repair record, and the warning comes back: run the tool again. A database whose `invest_methods` list was cut down on purpose (a shipped member deleted) cannot get a repair record, so the warning stays. The tool repairs `.sqlite` files only.
580
+
525
581
  ### Sharing a project
526
582
 
527
583
  `flextool-project` writes a project to one file, checks such a file and imports it (the FlexTool window does the same from **Manage projects… → Export… / Import…**).