Skip to content

Warnings and notes

A FlexTool run reports a problem it can work around as one console line per kind of problem and solve, ending in a code:

Warning: <what is wrong> (<N> cases, e.g. '<first entity>') [W-0123]

The line names how many entities are affected and the first of them; the full list (and the values behind each case) is in the run's log at debug level (run with --debug). At the end of a run a summary counts the warnings of each code. Note: lines are information, not problems.

This page explains each code: what it means and how to fix it. Its address is https://irena-flextool.github.io/flextool/reference/warnings/, and the section of a code is # followed by the code in lowercase (for example #w-0001). The FlexTool GUI opens it when you click a code in the run output.

Not every FlexTool warning has a code yet; the lines without one explain themselves.

Behaviour changes

W-0600

Behaviour change: storage_default_fix_nothing (note). Console line:

Note: changed in <version>: storage starts free by default (fix_nothing) (<N> cases, e.g. '<name>') [W-0600]

The default storage_start_end_method is now fix_nothing: a storage node without its own storage_start_end_method starts free. Before, when some node had a storage_state_start, it was fixed at the start: at its own storage_state_start, or at 0 when only other nodes had one (results change).

The notice is printed for a database upgraded from an earlier FlexTool, once per run (the debug log names every affected entity and gives the full notice).

How to fix: check the results of the affected entities. Set storage_start_end_method on these nodes (fix_nothing keeps the new behaviour).

W-0601

Behaviour change: storage_fix_method_rewritten (note). Console line:

Note: changed in <version>: the upgrade rewrote storage_start_end_method (<N> cases, e.g. '<name>') [W-0601]

The database upgrade rewrote storage_start_end_method on these nodes, so results are unchanged. A fix_start / fix_end / fix_start_end without storage_state_start / storage_state_end is now an error. The default is now fix_nothing, so a node that used the old default fix_start with its own storage_state_start now has fix_start written.

The notice is printed for a database upgraded from an earlier FlexTool, once per run (the debug log names every affected entity and gives the full notice).

How to fix: check the results of the affected entities. Delete the marker flextool_behaviour_change:storage_fix_method_rewritten in the database's Metadata tab once checked.

W-0602

Behaviour change: user_constraint_prebuilt_nets_retirements (note). Console line:

Note: changed in <version>: pre-built capacity term subtracts retirements (<N> cases, e.g. '<name>') [W-0602]

The pre-built capacity term of a user constraint (constraint_cumulative_pre_built_capacity_coeff) now subtracts the capacity retired in earlier periods of the same solve too (before: only retirements of earlier solves of a chain), so a single solve and a chain of solves agree.

The notice is printed for a database upgraded from an earlier FlexTool, once per run (the debug log names every affected entity and gives the full notice).

How to fix: check the results of the affected entities. Delete the marker flextool_behaviour_change:user_constraint_prebuilt_nets_retirements in the database's Metadata tab once checked.

W-0603

Behaviour change: dc_power_flow_lines_beside_dc_links (note). Console line:

Note: changed in <version>: DC power-flow lines are the group's connections (<N> cases, e.g. '<name>') [W-0603]

DC power-flow lines are the connections inside dc_power_flow_with_angles groups (other than is_DC connections). Before, a model with any is_DC connection used the is_DC connections instead: the group's lines had no angle constraints and the reference node could move (results change).

The notice is printed for a database upgraded from an earlier FlexTool, once per run (the debug log names every affected entity and gives the full notice).

How to fix: check the results of the affected entities. Delete the marker flextool_behaviour_change:dc_power_flow_lines_beside_dc_links in the database's Metadata tab once checked.

W-0604

Behaviour change: ladder_tier_labels_as_written (note). Console line:

Note: changed in <version>: price-ladder tier labels are kept as written (<N> cases, e.g. '<name>') [W-0604]

Price-ladder tier labels are now kept as written: tiers such as 01 or a are their own tiers. Before, a label was read as a whole number, so 01 became 1 (such tiers were bought at no cost, and 1 and 01 were merged) and tiers like a were dropped (results change).

The notice is printed for a database upgraded from an earlier FlexTool, once per run (the debug log names every affected entity and gives the full notice).

How to fix: check the results of the affected entities. Delete the marker flextool_behaviour_change:ladder_tier_labels_as_written in the database's Metadata tab once checked.

W-0605

Behaviour change: unnamed_maps_read_per_depth (note). Console line:

Note: changed in <version>: maps without index names are read per depth (<N> cases, e.g. '<name>') [W-0605]

Maps without index names that have different depths within one parameter are now read per depth: a one-level map keyed by time steps next to a period x time map is read over time. Before, its time steps were read as periods and its values were lost (results change).

The notice is printed for a database upgraded from an earlier FlexTool, once per run (the debug log names every affected entity and gives the full notice).

How to fix: check the results of the affected entities. Delete the marker flextool_behaviour_change:unnamed_maps_read_per_depth in the database's Metadata tab once checked.

W-0606

Behaviour change: price_ladder_periods_from_solve_periods (note). Console line:

Note: changed in <version>: a ladder without periods applies in every period (<N> cases, e.g. '<name>') [W-0606]

A price_ladder_annual given without periods now applies in every period of a solve that has no period_timeset (the model's only timeset is used). Before, when the model had no periods_available either, the ladder was skipped with a warning (results change).

The notice is printed for a database upgraded from an earlier FlexTool, once per run (the debug log names every affected entity and gives the full notice).

How to fix: check the results of the affected entities. Delete the marker flextool_behaviour_change:price_ladder_periods_from_solve_periods in the database's Metadata tab once checked.

W-0607

Behaviour change: coarse_process_flows (note). Console line:

Note: changed in <version>: processes of coarse nodes have coarse flows (<N> cases, e.g. '<name>') [W-0607]

A unit or connection whose balance nodes are all in coarse new_stepduration groups now has one flow per coarse step of its nodes (before: one per time step of the solve), with its availability, profiles and efficiency averaged over the coarse step and its ramp limits between coarse steps; a unit with online variables decides its units online, start-ups and shut-downs once per coarse step, counts its minimum up / down time in whole coarse steps and takes its start-up / shut-down capacity reduction over the coarse step; a reserve provider holds one reserve per coarse step, the requirement checked at every time step; an exact connection chooses its direction and the nodes of a DC network whose lines are all coarse their angle once per coarse step; a capacity-margin, inertia, non-synchronous, flow-group instant-flow, user-constraint, storage-use tie or DC power-flow row whose units and connections are all coarse is averaged over the coarse step, and one that mixes them with units at the solve's step sees the coarse flows constant (results change where, within a coarse step, a cost, price, efficiency, minimum load, demand, inflow, profile or row limit varies, two or more limits vary, ramp limits apply, the unit has online variables or provides reserves, or a row mixes coarse and solve-step flows).

The notice is printed for a database upgraded from an earlier FlexTool, once per run (the debug log names every affected entity and gives the full notice).

How to fix: check the results of the affected entities. Delete the marker flextool_behaviour_change:coarse_process_flows in the database's Metadata tab once checked.

W-0608

Behaviour change: construction_lead_time_commissioning (note). Console line:

Note: changed in <version>: lead-time capacity counts when it comes online (<N> cases, e.g. '<name>') [W-0608]

With a construction lead time, 'invested' and the per-period investment limits count capacity coming online in the period; annuity and fixed cost are paid only while it operates, at the invest_cost of the period it comes online; the start of operation uses the whole model's periods; investments starting after the solve or model horizon are not offered (results change).

The notice is printed for a database upgraded from an earlier FlexTool, once per run (the debug log names every affected entity and gives the full notice).

How to fix: check the results of the affected entities. Delete the marker flextool_behaviour_change:construction_lead_time_commissioning in the database's Metadata tab once checked.

W-0609

Behaviour change: chained_solve_costs_from_run_start (note). Console line:

Note: changed in <version>: costs of a run of solves count from its start (<N> cases, e.g. '<name>') [W-0609]

In a run of several solves the reported costs are now discounted from the start of the run (before: from the start of each solve); the investment and fixed cost of new capacity cover its operating years in the whole run and are reported once, in the period it starts operating, by the solve that realizes that period (before: in the decision period, over the deciding solve's periods); the fixed cost of capacity carried from an earlier solve or retired is no longer charged again as existing capacity. The printed objectives stayed discounted from each solve's start until chained_solve_discount_from_run_start (results change).

The notice is printed for a database upgraded from an earlier FlexTool, once per run (the debug log names every affected entity and gives the full notice).

How to fix: check the results of the affected entities. Delete the marker flextool_behaviour_change:chained_solve_costs_from_run_start in the database's Metadata tab once checked.

W-0610

Behaviour change: stochastic_branch_period_years (note). Console line:

Note: changed in <version>: stochastic branch periods count from their year (<N> cases, e.g. '<name>') [W-0610]

In a stochastic solve whose investments do not branch per forecast (stochastic_invest_method none, invest_solve_branching_method operations_only from FlexTool 4.7.0 on), the branch periods of the stochastic branches now count from the year of their period. Before, every branch period counted as the first year of the solve: capacity invested in a later period, or starting to operate in a later period after a construction lead time, was missing from the branches of that period, and lifetimes ended late in the branches (results change).

The notice is printed for a database upgraded from an earlier FlexTool, once per run (the debug log names every affected entity and gives the full notice).

How to fix: check the results of the affected entities. Delete the marker flextool_behaviour_change:stochastic_branch_period_years in the database's Metadata tab once checked.

W-0611

Behaviour change: ramp_branch_point_shutdown_once (note). Console line:

Note: changed in <version>: branch-point ramp counts the shut-down once (<N> cases, e.g. '<name>') [W-0611]

At a stochastic branch point (a step continued by several mid-horizon branches) the downward ramp row of each branch's first step now counts the shut-down share of the units online at the branch point once. Before, it was multiplied by the number of branches squared, so units shutting down there could drop their flow faster than the ramp limit allows (results change).

The notice is printed for a database upgraded from an earlier FlexTool, once per run (the debug log names every affected entity and gives the full notice).

How to fix: check the results of the affected entities. Delete the marker flextool_behaviour_change:ramp_branch_point_shutdown_once in the database's Metadata tab once checked.

W-0612

Behaviour change: retirement_of_existing_capacity_only (note). Console line:

Note: changed in <version>: only existing capacity can be retired (<N> cases, e.g. '<name>') [W-0612]

Only capacity that existed before the run can be retired, and a retirement counts until that capacity's end of life (reinvest_choice / no_reinvestment: the run's first year plus lifetime_technical, in every solve of a chain and once with stochastic branches in the first period; before, a later solve counted it from its own first period and branches multiplied it; reinvest_automatic: the end of the run). It saves each period's fixed cost of the existing capacity in that window, with the factor that fixed cost is charged with (its net salvage value is unchanged: an annuity over payback_time). Periods without existing capacity have no retirement option. Before, a retirement counted in every later period (past the end of life the capacity went negative: an infeasible or zero retirement), chained solves subtracted it from every period, and its fixed-cost saving was counted over the technical lifetime from the retirement (results change).

The notice is printed for a database upgraded from an earlier FlexTool, once per run (the debug log names every affected entity and gives the full notice).

How to fix: check the results of the affected entities. Delete the marker flextool_behaviour_change:retirement_of_existing_capacity_only in the database's Metadata tab once checked.

W-0613

Behaviour change: acceptance_ceiling_follows_tolerance (note). Console line:

Note: changed in <version>: near-optimal acceptance follows the tolerance (<N> cases, e.g. '<name>') [W-0613]

A solve HiGHS could not certify as optimal (status Unknown) is now accepted as near-optimal when its largest relative primal infeasibility is within max(1e-6, 10 x its primal_feasibility_tolerance), and its primal-dual objective error is within the accepted gap. Before, the limit was 1e-6 whatever the tolerance, so a solve run with a looser tolerance (e.g. 1e-3) stopped the run without results; it now writes results.

The notice is printed for a database upgraded from an earlier FlexTool, once per run (the debug log names every affected entity and gives the full notice).

How to fix: check the results of the affected entities. Delete the marker flextool_behaviour_change:acceptance_ceiling_follows_tolerance in the database's Metadata tab once checked.

W-0614

Behaviour change: solve_step_series_combined (note). Console line:

Note: changed in <version>: new_stepduration combines series by their kind (<N> cases, e.g. '<name>') [W-0614]

A solve with new_stepduration now combines every time series over the time steps of each new step by the kind of its value: prices, costs, limits, availability, min_load, penalties, reservations, self-discharge, time-step weights and profiles take the duration-weighted mean, efficiencies the harmonic mean (exact fuel use at a constant flow), inflow the sum and storage_state_reference_value the value at the end of the step. Before, these took the value of the step's first time step; only time-map profiles and inflow were combined (results change). A stochastic (branch) inflow used to take its first time step's value once; it is now summed like a deterministic inflow, so it grows by the number of time steps each new step combines, also where it is constant within the step.

The notice is printed for a database upgraded from an earlier FlexTool, once per run (the debug log names every affected entity and gives the full notice).

How to fix: check the results of the affected entities. Delete the marker flextool_behaviour_change:solve_step_series_combined in the database's Metadata tab once checked.

W-0615

Behaviour change: energy_margin_adder_per_original_step (note). Console line:

Note: changed in <version>: energy_margin_adder is per timeline step (<N> cases, e.g. '<name>') [W-0615]

energy_margin_adder is now an energy per time step of the timeline: when the investment solve has new_stepduration, a solve step adds the sum of the values of the time steps it combines (a constant or period value counts once per time step). Before, a solve step added the value of its first time step once, so a coarse investment solve added less demand (results change). To keep the old demand, divide the value by the number of time steps a solve step combines.

The notice is printed for a database upgraded from an earlier FlexTool, once per run (the debug log names every affected entity and gives the full notice).

How to fix: check the results of the affected entities. Delete the marker flextool_behaviour_change:energy_margin_adder_per_original_step in the database's Metadata tab once checked.

W-0616

Behaviour change: capacity_margin_counts_by_flow (note). Console line:

Note: changed in <version>: capacity margin counts derated capacity and flows (<N> cases, e.g. '<name>') [W-0616]

The capacity margin now counts firm and VRE units at their capacity derated by availability (and capacity_max_coeff), units fed from a storage node, connections and the units consuming from the group by their actual flow; energy dumped through the downward balance slack does not count. Before, availability was ignored, storage-backed units counted at full capacity and connections not at all. Exports now add to the requirement; connections and lossy units inside the group are left out (results change). In an investment -> dispatch chain the investment solve's shortfall and its penalty are now reported (slack__capacity_margin__d, the costs) instead of 0, so the total cost includes the penalty; capacity_margin__d explains each solve's margin.

The notice is printed for a database upgraded from an earlier FlexTool, once per run (the debug log names every affected entity and gives the full notice).

How to fix: check the results of the affected entities. Delete the marker flextool_behaviour_change:capacity_margin_counts_by_flow in the database's Metadata tab once checked.

W-0617

Behaviour change: discount_rate_zero_is_zero (note). Console line:

Note: changed in <version>: a discount_rate of 0 is 0 % (<N> cases, e.g. '<name>') [W-0617]

A discount_rate of 0 is now 0 %: the annuity of an investment is invest_cost / payback_time (net_salvage_value / payback_time for a retirement). Before, a discount_rate of 0 or below was read as 5 %, so these investments cost more per year (results change). A negative discount_rate is now an input error, and an investing or retiring entity with a cost needs a lifetime_technical or payback_time (before: 20 years).

The notice is printed for a database upgraded from an earlier FlexTool, once per run (the debug log names every affected entity and gives the full notice).

How to fix: check the results of the affected entities. Delete the marker flextool_behaviour_change:discount_rate_zero_is_zero in the database's Metadata tab once checked.

W-0618

Behaviour change: invest_without_cost_offered (note). Console line:

Note: changed in <version>: investments without invest_cost are offered (<N> cases, e.g. '<name>') [W-0618]

An invest_method that allows investing (retiring) now offers the investment (retirement) in every investment period, also where invest_cost (net_salvage_value) is missing or 0: that capacity has no annuity, its fixed_cost still counts. Before, such a period had no investment (retirement) variable unless a user constraint had a capacity coefficient on the entity, so a 0 in an invest_cost map blocked investment in that period (results change). To forbid investment in a period, set invest_max_period 0 there under a *_period invest_method (the other methods do not use invest_max_period), or use not_allowed. With neither invest_cost nor fixed_cost the invested amount is arbitrary.

The notice is printed for a database upgraded from an earlier FlexTool, once per run (the debug log names every affected entity and gives the full notice).

How to fix: check the results of the affected entities. Delete the marker flextool_behaviour_change:invest_without_cost_offered in the database's Metadata tab once checked.

W-0619

Behaviour change: stochastic_storage_paths_tied (note). Console line:

Note: changed in <version>: stochastic bind_within_solve closes each path (<N> cases, e.g. '<name>') [W-0619]

In a stochastic solve, bind_within_solve now closes one loop per path: the last step of every forecast branch ends at the level the solve's first step starts from, and with forecasts opening in the solve's first period each forecast's first step continues from the end of its own path. Before, only the branch listed last closed the loop and the others ended free (a fan in the first period looped each forecast within its first period). With bind_forward_only and a free start (no fix_start, no carried state), the forecasts opening in the solve's first period now start at the same level; before, each chose its own (results change). With storage_start_end_method fix_start the start of each forecast is the storage_state_start share of that forecast's own storage capacity, so where the capacity differs by forecast (investment or divestment per forecast) the starting energy differs. The upgrade marks every stochastic database with a storage node on bind_within_solve, or on bind_forward_only without a fixed start; such a bind_forward_only node changes only when a fan opens in the solve's first period.

The notice is printed for a database upgraded from an earlier FlexTool, once per run (the debug log names every affected entity and gives the full notice).

How to fix: check the results of the affected entities. Delete the marker flextool_behaviour_change:stochastic_storage_paths_tied in the database's Metadata tab once checked.

W-0620

Behaviour change: chained_solve_discount_from_run_start (note). Console line:

Note: changed in <version>: a run of solves discounts from its start (<N> cases, e.g. '<name>') [W-0620]

With a social_discount_rate other than 0, every solve now discounts its investments and its operations from the start of the run, as one solve over the same periods does. Before, a later solve of a run of several solves (also a split solve of a 2-D period map, a rolling or nested solve starting after the run start) discounted its operations, and when its years_represented held only its own periods also its investments, from its own start; and a fractional years_represented counted as a whole year in the discounting of the periods after it; a years_represented map that listed the periods out of the solve's period order (or an unused period before a used one) discounted the investments in the period order and the operations in the map order, also in a single solve, and now both in the map order. Where only the investments were discounted from the run start (hand-written solves with the whole years_represented map), the balance between investment and operating costs was wrong and decisions change; otherwise the objectives, investment duals and CO2 cap prices of later solves are now on the run's discount base, and decisions can still change through absolute MIP gaps, objective targets or bounds and terms without a discount factor (results change).

The notice is printed for a database upgraded from an earlier FlexTool, once per run (the debug log names every affected entity and gives the full notice).

How to fix: check the results of the affected entities. Delete the marker flextool_behaviour_change:chained_solve_discount_from_run_start in the database's Metadata tab once checked.

W-0621

Behaviour change: rolling_cyclic_storage_anchored (note). Console line:

Note: changed in <version>: rolling bind_within_solve storage is anchored (<N> cases, e.g. '<name>') [W-0621]

In a rolling_window solve without representative periods, a storage node with storage_binding_method bind_within_solve (also bind_within_solve_blended_weights, which such a solve uses as bind_within_solve) now continues each roll from the level realised by the previous roll, and each roll ends its horizon at least at the level it started from. The roll(s) whose horizon reaches the end of the solve end at the level the first roll started from, so the year (the solve) returns the energy it took. An upper-level fix_quantity or fix_usage at the end of a roll's horizon replaces these end conditions (fix_price keeps the closure and only values the end), and fix_end wins at the last step of the model. bind_within_period (also bind_within_period_blended_weights, and bind_within_timeblock, which such a solve uses as bind_within_period) and bind_intraperiod_blocks do the same per period where a roll starts inside one: the roll continues it from the carried level and the roll(s) holding its end close it at the level it started from. Before, each roll cycled on itself from a free level (or the blocks of a period held in part chained forward without closing it), so the level jumped at roll boundaries and the rolls could use energy that was never produced (results change). The closing level is the start level in MWh, at most the storage capacity of the closing period.

The notice is printed for a database upgraded from an earlier FlexTool, once per run (the debug log names every affected entity and gives the full notice).

How to fix: check the results of the affected entities. Delete the marker flextool_behaviour_change:rolling_cyclic_storage_anchored in the database's Metadata tab once checked.

W-0622

Behaviour change: nested_storage_start_borrowed (note). Console line:

Note: changed in <version>: nested storage starts from the upper level (<N> cases, e.g. '<name>') [W-0622]

A storage node of a nested lower-level solve whose end an upper-level solve fixes (storage_nested_fix_method fix_quantity, fix_usage or fix_price) and that has no state realised before the lower solve now starts from the level the upper solve planned for the same moment, when it chains forward (bind_forward_only, or bind_within_solve in a rolling solve under fix_quantity or fix_usage, and bind_within_period (also bind_within_timeblock) there when the first roll cuts the period) and fix_start does not apply (no fix_start, or the lower solve starts after the start of the model). Before, it started free or from fix_start, so the lower solve could start fuller than the upper plan and keep the difference (results change).

The notice is printed for a database upgraded from an earlier FlexTool, once per run (the debug log names every affected entity and gives the full notice).

How to fix: check the results of the affected entities. Delete the marker flextool_behaviour_change:nested_storage_start_borrowed in the database's Metadata tab once checked.

W-0623

Behaviour change: nested_storage_fix_cumulative (note). Console line:

Note: changed in <version>: nested fix_usage is capped from the period start (<N> cases, e.g. '<name>') [W-0623]

A lower-level solve under an upper-level storage_nested_fix_method fix_usage is now capped by the upper solve's usage from the start of the period (within the instance nested in that upper solve) to the end of its horizon, less what its earlier rolls realised, with an upper step that the span cuts counted pro rata to its hours. Before, each roll was capped by the upper usage of every upper step it touched, counted whole and from its own start, so the realised rolls could use energy the upper solve never planned. Under fix_quantity a lower horizon that ends inside an upper step now takes the upper level interpolated at that moment instead of the level at the end of the step (results change).

The notice is printed for a database upgraded from an earlier FlexTool, once per run (the debug log names every affected entity and gives the full notice).

How to fix: check the results of the affected entities. Delete the marker flextool_behaviour_change:nested_storage_fix_cumulative in the database's Metadata tab once checked.

W-0624

Behaviour change: rp_storage_chain_pinned (note). Console line:

Note: changed in <version>: representative-period storage chain start / end set (<N> cases, e.g. '<name>') [W-0624]

In a representative-period solve, storage_state_start, storage_state_end and use_reference_value of a *_blended_weights storage node now set the stored level at the start and the end of its base-period chain (the chronological level the representative blocks add up to), not a state inside the first or last representative block, which only placed the block's free offset. The level a bind_forward_only_blended_weights chain starts from is now within the storage capacity, and a bind_within_solve_blended_weights or bind_within_period_blended_weights node takes no use_reference_value (its cycle closes on itself). A solve with representative periods that follows another solve starts the chain of a bind_forward_only_blended_weights node from the realised level, and hands on its chain level at the end of its realised period. Before, a forward chain started and ended at free levels whatever these parameters said, so an investment solve could use stored energy that was never produced (results change).

The notice is printed for a database upgraded from an earlier FlexTool, once per run (the debug log names every affected entity and gives the full notice).

How to fix: check the results of the affected entities. Delete the marker flextool_behaviour_change:rp_storage_chain_pinned in the database's Metadata tab once checked.

W-0625

Behaviour change: storage_end_matches_start (note). Console line:

Note: changed in <version>: forward storage ends at least at its start (<N> cases, e.g. '<name>') [W-0625]

A storage node that chains forward (bind_forward_only, also the default, and bind_forward_only_blended_weights) and whose start the solve decides now ends the model at least at that start: a free start (storage_start_end_method fix_nothing or fix_end) ends at least at the level it started from, and a fix_start start on storage the solve can invest in returns at least the storage_state_start share of the capacity it builds in the first period. This holds in a solve that has both the start of the model and its last step (a single solve, an investment solve over the whole horizon, every representative-period solve) and, with a free start (fix_nothing), over the rolls of a rolling solve (the first roll's horizon ends at least at its start, the rolls reaching the end of the model at least at that level). Before, the solve could start full and end empty, or build storage only for its start energy (results change). fix_start on capacity the solve cannot change keeps a free end.

The notice is printed for a database upgraded from an earlier FlexTool, once per run (the debug log names every affected entity and gives the full notice).

How to fix: check the results of the affected entities. Delete the marker flextool_behaviour_change:storage_end_matches_start in the database's Metadata tab once checked.

W-0626

Behaviour change: storage_reference_start (note). Console line:

Note: changed in <version>: use_reference_value storage starts at the reference (<N> cases, e.g. '<name>') [W-0626]

A storage node with storage_solve_horizon_method use_reference_value and no fix_start now starts from its storage_state_reference_value at the first step (the model's first step in the first solve). Before, its start was free and only the matching end bounded it, so a reference series that falls during the year did not drain the storage; now the existing storage gives the drop (results change). With fix_start, storage_state_start still wins.

The notice is printed for a database upgraded from an earlier FlexTool, once per run (the debug log names every affected entity and gives the full notice).

How to fix: check the results of the affected entities. Delete the marker flextool_behaviour_change:storage_reference_start in the database's Metadata tab once checked.

W-0627

Behaviour change: annuity_over_payback_time (note). Console line:

Note: changed in <version>: investment cost is levelled over the lifetime (<N> cases, e.g. '<name>') [W-0627]

With lifetime_method reinvest_choice or no_reinvestment the investment cost is now the level yearly cost of the plant over its lifetime_technical (the annuity over payback_time with discount_rate, its present value spread evenly over the lifetime), paid for each year the capacity is in service within the horizon. Before, the annuity was paid in every period that started before the end of the lifetime, also where the capacity was already gone (results change). The reported investment costs follow; the fixed cost runs over the same years.

The notice is printed for a database upgraded from an earlier FlexTool, once per run (the debug log names every affected entity and gives the full notice).

How to fix: check the results of the affected entities. Delete the marker flextool_behaviour_change:annuity_over_payback_time in the database's Metadata tab once checked.

W-0628

Behaviour change: fixed_cost_per_operating_period (note). Console line:

Note: changed in <version>: new capacity pays each period's fixed_cost (<N> cases, e.g. '<name>') [W-0628]

New capacity now pays the fixed_cost of each period it operates in, as existing capacity does. In FlexTool 4.5.0 an investment paid the fixed_cost of the period it came online in every period it operated, so where fixed_cost differs between periods (a period map) the fixed cost of new capacity changes (results change).

The notice is printed for a database upgraded from an earlier FlexTool, once per run (the debug log names every affected entity and gives the full notice).

How to fix: check the results of the affected entities. Delete the marker flextool_behaviour_change:fixed_cost_per_operating_period in the database's Metadata tab once checked.

W-0629

Behaviour change: annuity_timing (note). Console line:

Note: changed in <version>: annuity sized for discount_offset_investment (<N> cases, e.g. '<name>') [W-0629]

The yearly payment of the investment annuity (and of the yearly salvage credits) is now sized for the moment discount_offset_investment places it in the year: the annuity times (1 + discount_rate)^(discount_offset_investment - 1), so the loan taken when the capacity comes online is worth invest_cost at the discount_rate. Before, every offset used the year-end annuity, so at the default offset 0 (payments at the start of each year) an investment cost invest_cost times (1 + discount_rate). Investments are now cheaper by one year of interest at offset 0 (results change); offset 1 is unchanged.

The notice is printed for a database upgraded from an earlier FlexTool, once per run (the debug log names every affected entity and gives the full notice).

How to fix: check the results of the affected entities. Delete the marker flextool_behaviour_change:annuity_timing in the database's Metadata tab once checked.

W-0630

Behaviour change: net_salvage_once (note). Console line:

Note: changed in <version>: net_salvage_value is counted once (<N> cases, e.g. '<name>') [W-0630]

The net_salvage_value is now counted once, as a cash flow when the capacity stops operating. A retirement of existing capacity receives the whole net_salvage_value of the retirement period at its start (the investment in existing capacity is sunk; before: the salvage annuity over lifetime_technical, inside the horizon). With lifetime_method reinvest_choice or no_reinvestment the net_salvage_value at the end of life lowers the yearly cost of new capacity (levelled over lifetime_technical at discount_rate; before: no effect), existing capacity holds it as a level yearly credit (a constant that is not in the reported objective) and a retirement gives the credits back. Retiring long-lived capacity late in the horizon can now pay, since the years after the horizon are not seen (results change).

The notice is printed for a database upgraded from an earlier FlexTool, once per run (the debug log names every affected entity and gives the full notice).

How to fix: check the results of the affected entities. Delete the marker flextool_behaviour_change:net_salvage_once in the database's Metadata tab once checked.

W-0631

Behaviour change: built_capacity_retirable (note). Console line:

Note: changed in <version>: built capacity can be retired (<N> cases, e.g. '<name>') [W-0631]

With lifetime_method reinvest_choice or no_reinvestment and an invest_method that allows investment and retirement (invest_retire_* or cumulative_limits), the capacity the model builds can now be retired too (before: only existing capacity). A retired MW pays its loan in full at the start of the retirement period, receives the net_salvage_value then and saves its fixed cost from then on; retirement limits and user-constraint retirement terms count it, and a chain of solves carries each retirement with its cohort (results change).

The notice is printed for a database upgraded from an earlier FlexTool, once per run (the debug log names every affected entity and gives the full notice).

How to fix: check the results of the affected entities. Delete the marker flextool_behaviour_change:built_capacity_retirable in the database's Metadata tab once checked.

W-0632

Behaviour change: automatic_replacement_cost (note). Console line:

Note: changed in <version>: automatic replacement priced as a new plant (<N> cases, e.g. '<name>') [W-0632]

With lifetime_method reinvest_automatic and a lifetime_technical, capacity is now replaced at the end of its life by a new plant, at the invest_cost, discount_rate, payback_time, lifetime_technical and net_salvage_value of the period the replacement comes online, and replaced again at its own end of life to the end of the horizon. Before, it paid the annuity of its first plant for ever, without its net_salvage_value. Existing capacity reaches its end of life and is replaced the same way (free without an invest_cost), and reinvest_automatic capacity, built or existing, can be retired when its invest_method allows it: retiring it also avoids every replacement still to come (results change).

The notice is printed for a database upgraded from an earlier FlexTool, once per run (the debug log names every affected entity and gives the full notice).

How to fix: check the results of the affected entities. Delete the marker flextool_behaviour_change:automatic_replacement_cost in the database's Metadata tab once checked.

W-0633

Behaviour change: end_of_life_closest_seam (note). Console line:

Note: changed in <version>: end of life rounds to the closest period start (<N> cases, e.g. '<name>') [W-0633]

With lifetime_method reinvest_choice or no_reinvestment, the end of life (start of operation plus lifetime_technical; existing capacity from the model start) is now rounded to the closest period start (end_of_life_method closest_seam, the new default; a tie goes to the later start). Before, it was rounded to the next period start, so the capacity operated to the end of the period its life ended in. Capacity whose life ends in the first half of a period is now out of service, without fixed cost, for that whole period (results change).

The notice is printed for a database upgraded from an earlier FlexTool, once per run (the debug log names every affected entity and gives the full notice).

How to fix: check the results of the affected entities. Set end_of_life_method on these entities: next_seam keeps the old rounding, closest_seam the new.

W-0634

Behaviour change: minimum_time_method_written (note). Console line:

Note: changed in <version>: the upgrade wrote minimum_time_method (<N> cases, e.g. '<name>') [W-0634]

minimum_time_method now decides whether min_uptime and min_downtime apply: a unit without it (none, the default) has no minimum up or down time. Before, a time applied whenever it was set. The database upgrade wrote minimum_time_method (both, min_uptime or min_downtime, and none where a unit is kept offline) on these units, so their results are unchanged. Units the upgrade could not decide got nothing written: in the scenarios it named, their times no longer apply (results change), and warning W-0231 names them at each run. Set minimum_time_method on them where the times should apply.

The notice is printed for a database upgraded from an earlier FlexTool, once per run (the debug log names every affected entity and gives the full notice).

How to fix: check the results of the affected entities. Delete the marker flextool_behaviour_change:minimum_time_method_written in the database's Metadata tab once checked.

W-0635

Behaviour change: rolling_within_solve_one_solve (note). Console line:

Note: changed in <version>: rolling within_solve realizes the jump in one solve (<N> cases, e.g. '<name>') [W-0635]

A rolling stochastic solve with dispatch_realization_method within_solve now solves each roll once. Over the jump it dispatches the data of the realized: yes branch once, under the period's own name. After the jump it looks ahead with each forecast made at the end of the jump, with its probability. Before, each roll solved the forecasts made at its start, and a separate realization solve then dispatched the jump alone, without looking ahead. Results change: units online, storage levels and prices in the jump, and, with timeset weights that are not equal, the costs reported for the jump. Such a solve now needs a realized: yes branch and forecasts made at the end of each jump: without the branch the run stops with an error naming the solve, without the forecasts with an error naming the roll and the time step.

The notice is printed for a database upgraded from an earlier FlexTool, once per run (the debug log names every affected entity and gives the full notice).

How to fix: check the results of the affected entities. Delete the marker flextool_behaviour_change:rolling_within_solve_one_solve in the database's Metadata tab once checked.

W-0636

Behaviour change: separate_dispatch_realization_looks_ahead (note). Console line:

Note: changed in <version>: separate_dispatch: first solve shares less across forecasts (<N> cases, e.g. '<name>') [W-0636]

In rolling and single solves with dispatch_realization_method separate_dispatch, the first solve now shares across the forecasts only the units online of units whose startup_method ends in _fix_in_uc, the only decisions the realization keeps, and the start level of a storage that starts free; before, it also shared the other units online, reserves and the storage use of the stochastic nodes. In a rolling solve the realization solve now also looks ahead after its jump with each forecast made at the end of the jump and its probability; before, it dispatched the jump alone. The rolling solves that keep the earlier realization (a model with delayed units, or a realization solve you configure) still dispatch the jump alone: only their first solve changed. Results change: units online, storage levels, prices and, with timeset weights that are not equal, the costs reported for the jump. A rolling solve whose realization looks ahead and that has no forecasts made at the start of each roll and at the end of each jump now stops with an error naming the roll and the time step.

The notice is printed for a database upgraded from an earlier FlexTool, once per run (the debug log names every affected entity and gives the full notice).

How to fix: check the results of the affected entities. Delete the marker flextool_behaviour_change:separate_dispatch_realization_looks_ahead in the database's Metadata tab once checked.

W-0637

Behaviour change: stochastic_invest_controls_rewritten (note). Console line:

Note: changed in <version>: old stochastic settings: check invest_solve_branching_method (<N> cases, e.g. '<name>') [W-0637]

stochastic_invest_method, shared_invest_periods and shared_operation_periods are replaced by invest_solve_branching_method, read on investment solves only (not rolling, with invest_periods or realized_invest_periods, and stochastic_branches). The upgrade wrote investments_after_reveal_period where stochastic_invest_method was recourse on a solve that is not rolling and has investments and stochastic_branches (the investment of the period where the forecasts start is now one decision of all branches; investments_at_reveal_period lets each branch invest on its own from that period), and operations_only (the default: the investments of every period are one plan) everywhere else. The operations of an investment solve's branches are no longer tied: each branch operates on its own from the period where the forecasts start. Listed: the solves that had any of the old settings. Results may change: check invest_solve_branching_method on them.

The notice is printed for a database upgraded from an earlier FlexTool, once per run (the debug log names every affected entity and gives the full notice).

How to fix: check the results of the affected entities. Delete the marker flextool_behaviour_change:stochastic_invest_controls_rewritten in the database's Metadata tab once checked.

Commodities

W-0400

Unreadable price ladder (warning). Console line:

Warning: price ladder of the commodity cannot be read; skipped (<N> cases, e.g. '<name>') [W-0400]

The commodity's price_ladder_cumulative / price_ladder_annual is not a map of the expected shape (tier → {price, quantity}, or period → tier → {price, quantity} for the annual ladder), or no model periods were found to spread a 2-level annual ladder over. The ladder is skipped. The debug log gives the reason.

How to fix: give the ladder in the documented shape.

DC power flow

W-0402

DC power flow reference node outside the group (warning). Console line:

Warning: reference_node is not a member of its DC power-flow group; ignored (<N> cases, e.g. '<name>') [W-0402]

The group's reference_node is not a member node of the group, so the reference node is chosen automatically (the node with the largest existing capacity of each connected part). The case is named as (group, node).

How to fix: name a member node of the group, or remove reference_node.

W-0403

DC power flow reference node chosen automatically (note). Console line:

Note: reference node of a DC power-flow network chosen automatically (<N> cases, e.g. '<name>') [W-0403]

The group has no reference_node, so each connected part of its network gets the node with the largest existing capacity as its reference (voltage angle 0). The case is named as (group, node).

How to fix: nothing; set reference_node to choose it yourself.

W-0404

DC power-flow line without reactance (warning). Console line:

Warning: line of a DC power-flow group has no or zero reactance; no susceptance (<N> cases, e.g. '<name>') [W-0404]

A line of a dc_power_flow_with_angles group needs a non-zero reactance for its susceptance; without it the line gets no power-flow equation. The debug log says which.

How to fix: give the connection a non-zero reactance.

W-0405

DC power-flow line without existing capacity (warning). Console line:

Warning: line of a DC power-flow group has zero existing capacity; big-M needed (<N> cases, e.g. '<name>') [W-0405]

A DC power-flow line with zero existing capacity needs big-M constraints. The debug log gives the group's candidate_precapacity_to_avoid_big_m.

How to fix: give the line a small existing capacity (e.g. the candidate_precapacity_to_avoid_big_m value).

Groups and outputs

W-0001

flowGroup with flow_aggregator but no flows (warning). Console line:

Warning: flowGroup has flow_aggregator but no flow members (<N> cases, e.g. '<name>') [W-0001]

The flowGroup has flow_aggregator set to a method other than none, which asks for aggregated flow results (dispatch-plot bands and/or standalone indicators), but it has no flowGroup__unit__node or flowGroup__connection__node members. Its flow results are empty.

How to fix: add the flows the group should aggregate as flowGroup__unit__node / flowGroup__connection__node entities, or set flow_aggregator to none (or remove it).

W-0002

Group output flag without node members (warning). Console line:

Warning: group has <parameter>: yes but no group__node members (<N> cases, e.g. '<name>') [W-0002]

The group has print_dispatch or print_indicators set to yes, but no group__node members. These outputs are computed over the group's nodes, so they are empty.

How to fix: add the nodes as group__node entities, or set the flag to no.

W-0003

Flow in several dispatch-plot flowGroups (warning). Console line:

Warning: flow is in several dispatch-plot flowGroups (counted twice) (<N> cases, e.g. '<name>') [W-0003]

A flow (a unit or connection to a node) belongs to two or more flowGroups whose flow_aggregator is dispatch_plots_only or both. Each of them adds the flow as a band of the node group's dispatch plot, so the plot counts the flow more than once and the dispatch does not balance. The model itself is not affected. The debug log lists the flowGroups of each flow.

How to fix: keep each flow in one dispatch-plot flowGroup. A flowGroup that is only needed for its standalone indicators can use flow_aggregator: standalone_aggregator_only, which may overlap with others.

W-0100

Storage node with demand in a capacity-margin group (warning). Console line:

Warning: capacity-margin group has storage nodes with demand; not covered (<N> cases, e.g. '<name>') [W-0100]

A group with capacity_margin_method absolute or relative_of_peak_demand has a storage node with demand (a negative inflow, e.g. a heat node with a tank). The capacity margin covers the demand of the group's nodes without a storage state, so that demand is left out of the margin. The debug log names the nodes.

How to fix: model the demand on a balance node of the group, connected to the storage node, if the margin should cover it.

W-0101

Group limit without its method or flag (warning). Console line:

Warning: group has <limit> without its method or flag; ignored (<N> cases, e.g. '<name>') [W-0101]

The capacity margin, inertia and non-synchronous constraints are built only for the groups that switch them on: capacity_margin_absolute needs capacity_margin_method: absolute, capacity_margin_relative needs capacity_margin_method: relative_of_peak_demand, inertia_limit needs has_inertia: yes and non_synchronous_limit needs has_non_synchronous: yes. The group has a non-zero limit without it, so the limit is ignored.

How to fix: set the method or flag, or remove the limit.

W-0102

Group method or flag without its limit (warning). Console line:

Warning: group has no <limit> for its method or flag (read as 0) (<N> cases, e.g. '<name>') [W-0102]

The group switches on a capacity margin, inertia or non-synchronous constraint (see W-0101 for the pairs) but has no value for its limit, so the model reads the limit as 0: a capacity margin of 0 (the capacity must cover the demand), no inertia requirement, or no non-synchronous infeed allowed (violations are penalised). An explicit 0 is a deliberate input and is not reported.

How to fix: give the limit a value, or switch the method or flag off.

W-0103

CO2 cap without a capping co2_method (warning). Console line:

Warning: group has <limit> but its co2_method has no such cap; ignored (<N> cases, e.g. '<name>') [W-0103]

The group has co2_max_period or co2_max_total (any value, 0 included), but its co2_method (explicit, or the default) has no period or total cap, so the limit is ignored. The debug log gives the alternative and the method.

How to fix: use a co2_method with period (for co2_max_period) or total (for co2_max_total) in it, or remove the limit.

W-0104

One-variable connection at the edge of a non-synchronous group (warning). Console line:

Warning: one-variable connection crosses a non-synchronous group boundary (<N> cases, e.g. '<name>') [W-0104]

The non-synchronous limit counts the flows of a connection with one node in the group both ways: the flow into the group as infeed, the flow out of it as supply. A one-variable connection (no_losses_no_variable_cost, and the lines of a dc_power_flow_with_angles group, which use it internally) can flow both ways at once at no cost, so the optimiser can loosen the limit by up to the line capacity. The case is named as (connection, group). is_DC connections are not reported.

How to fix: use transfer_method: exact for the connection (a DC power-flow line: check the results for simultaneous flows both ways).

W-0109

Reserve ratio without a dynamic reserve method (warning). Console line:

Warning: increase_reserve_ratio without a dynamic reserve_method; ignored (<N> cases, e.g. '<name>') [W-0109]

The reserve group (reserve__upDown__group) has an increase_reserve_ratio, which adds the demand of the group's nodes to the dynamic reserve requirement only. Its reserve_method is not dynamic, so the ratio is ignored.

How to fix: use a dynamic reserve_method (dynamic_only, timeseries_and_dynamic, dynamic_and_large_failure or all), or remove the ratio.

Input database

W-0490

Value list possibly changed by a spinedb_api bug (warning). Console line:

Warning: a spinedb_api bug may have changed the value list on <date> (<N> cases, e.g. '<name>') [W-0490]

The database's own migration history shows a migration session, between 2024-04-29 and 2025-07-07, that may have run with spinedb_api 0.31 to 0.34. Those versions had a bug: adding a member to a value list could overwrite the list's first member, and every default and value that used that member then silently changed with it. The line names the lists to check; the debug log and the run log give the data versions of the session. FlexTool does not know which library the migration used, so this is a possibility, not a finding. The GUI lists a "Please check this database" message for it when it opens the project, with a button to this checklist. The message repeats at every run and every time the GUI opens the database, also after you have checked, until a repair is recorded in the database: only FlexTool's repair tool records one.

For invest_methods (migration from data version 21 to 22): the list should contain not_allowed. If it is missing, the method parameter default of invest_method (unit, connection, node) and any value that was not_allowed before that date now read cumulative_limits, which since FlexTool 4.4 lets those entities invest and retire without limit.

How to fix: run the repair tool on the database, in a terminal:

flextool-repair-value-list "<database>"

or, with the Python of FlexTool's environment, python -P -m flextool.cli.cmd_repair_value_list "<database>".

The tool never changes the database itself. It asks about each default and value that may have changed, and writes a repaired copy (<name>_repaired.sqlite next to it) that records the repair; the warning ends when that copy is used in place of the database. If you have a copy of the database from before the upgrade (data version 21 or older), add --archive "<old copy>": the tool then uses it as evidence. The steps (answers file, exit codes, swapping the copy in) are in Repairing a value list.

If the tool cannot repair the list (it says so), check it by hand (a checklist):

  1. Make a copy of the database and work on the copy.
  2. In the Spine DB editor, open Parameter value list and the named list (invest_methods). Check that it has every member listed in the parameter reference (14 for invest_methods, among them not_allowed and cumulative_limits).
  3. If a member is missing, add it to the list (at the end).
  4. For invest_methods, set the default value of invest_method of unit, connection and node to not_allowed (FlexTool's default).
  5. Filter the parameter values by invest_method = cumulative_limits. For each one, decide whether it was meant: compare with a copy from before the migration date, your Excel input or your notes. An entity that has no cumulative_max_capacity and should not invest should be not_allowed.
  6. Re-run, and compare the investments and retirements with the previous results.
  7. Run the repair tool on the fixed copy to record the repair: the warning stays until one is recorded. If the tool still cannot read the list (it says so again), run it with --checked-by-hand: you confirm that you have checked every item above, and the tool records the repair in a copy without changing any value.

If you copied data from this database into another one, check that one too.

W-0491

Method parameter defaults lost in an old upgrade (note). Console line:

Note: defaults emptied by an old upgrade (<N> cases, e.g. '<name>') [W-0491]

An upgrade of this database before FlexTool 4.6.3 left some method parameter defaults empty: an old Spine library had stored them in a form the upgrade could not read. The line names them (up to three; the run log lists all of them with FlexTool's defaults). An empty default works like FlexTool's default, because FlexTool uses its default when none is stored. Only storage_start_end_method can change results; when the line names it, an unaffected database keeps the start of storage nodes with their own start value fixed (fix_start), and this one leaves it free. The GUI lists a "Method parameter defaults lost in an old upgrade" message for it when it opens the project, with a button that copies the repair command.

How to fix: run the repair tool on the database: flextool-repair-value-list "<database>" (or python -P -m flextool.cli.cmd_repair_value_list "<database>"). It writes a repaired copy next to the original, puts FlexTool's defaults back and lists each such storage node to check. Then use the copy in place of the original. The note stops once the database holds the tool's repair record. The steps are in Repairing a value list.

Input values

W-0222

Connection efficiency above 1 (warning). Console line:

Warning: connection efficiency above 1 creates energy (<N> cases, e.g. '<name>') [W-0222]

A connection efficiency above 1 creates energy on the way. The debug log gives the value, the alternative and the key.

How to fix: use an efficiency of at most 1 (0.98 for 2 % losses).

W-0223

Negative existing capacity (warning). Console line:

Warning: negative existing capacity of a <cls> (<N> cases, e.g. '<name>') [W-0223]

A negative existing is supported, but more often a typing mistake. A unit with a negative capacity is an "anti-energy" unit (its flows run the other way); a connection gets a negative transfer capacity and a node a negative storage capacity. Combined with a profile, min_load, storage state limits or invest / retire limits it can make the problem infeasible. The debug log gives the value, the alternative and the key.

How to fix: if you did not mean it, use 0 or more.

W-0224

virtual_unitsize not above 0 (warning). Console line:

Warning: virtual_unitsize of a <cls> is not above 0; ignored (<N> cases, e.g. '<name>') [W-0224]

virtual_unitsize must be above 0; the value is ignored (the entity is one unit of its capacity).

How to fix: give a size above 0, or remove the value.

W-0225

Life extension without lifetime_technical (warning). Console line:

Warning: life extension of a <cls> without lifetime_technical; never extended (<N> cases, e.g. '<name>') [W-0225]

The entity has life_extension_cost and life_extension_years but no lifetime_technical: its capacity never reaches an end of life, so it is never extended.

How to fix: give lifetime_technical, or remove the life extension.

W-0226

Availability that looks like a percentage (warning). Console line:

Warning: availability of a <cls> above 1.5 looks like a percentage (<N> cases, e.g. '<name>') [W-0226]

availability is a share (0.95, not 95); values above 1.5 look like percentages. The debug log gives the value, the alternative and the key.

How to fix: give the availability as a share.

Inputs of a solve

W-0510

annual_flow above the reach of peak_inflow (warning). Console line:

Warning: annual_flow is above what peak_inflow can reach (<N> cases, e.g. '<name>') [W-0510]

The node uses inflow_method scale_to_annual_and_peak_flow, but its annual_flow is above |peak_inflow| times the time steps of a year: no profile with that peak reaches the annual flow, so the scaled inflow exceeds peak_inflow at its off-peak time steps. The debug log gives the values.

How to fix: raise peak_inflow or lower annual_flow.

W-0511

Scaled inflow changes direction (warning). Console line:

Warning: the scaled inflow changes direction in some time steps (<N> cases, e.g. '<name>') [W-0511]

The node uses inflow_method scale_to_annual_and_peak_flow, and its annual_flow is too small for this peak_inflow and profile shape: the low-demand (or low-supply) time steps turn into supply (or demand). The debug log gives the number of time steps and the values.

How to fix: raise annual_flow or lower |peak_inflow|.

W-0512

timeset_weights change the annualised inflow (warning). Console line:

Warning: timeset_weights change the annualised inflow by over 1% (<N> cases, e.g. '<name>') [W-0512]

For a scaled inflow (inflow_method scale_to_annual_flow or scale_to_annual_and_peak_flow), the non-uniform timeset_weights imply an annualisation that differs from an even sample of the selected time steps by more than 1 %. The debug log gives the factor per node and period.

How to fix: check that the timeset_weights match how representative the selected time steps are.

W-0513

No-limit value in part of a solve step (warning). Console line:

Warning: limit is <use> in only part of a new_stepduration step; dropped (<N> cases, e.g. '<name>') [W-0513]

The parameter is a limit, and it is inf / -inf (no limit) in some but not all time steps of a solve step of new_stepduration. A solve step takes the mean of its time steps, which is then inf / -inf, so the limit is dropped for the whole solve step. The debug log names the solve steps.

How to fix: give inf / -inf in all or none of the time steps of a solve step, or use a shorter new_stepduration.

W-0514

Very large limit value (warning). Console line:

Warning: limit has a very large value (numerically unstable) (<N> cases, e.g. '<name>') [W-0514]

The parameter is used as a limit, and a value this large (1e10 or more) makes the solve numerically unstable. The debug log gives the values and where they are.

How to fix: if no limit is meant, give inf (an upper limit) or -inf (a lower limit) there; otherwise check the unit of the value.

W-0515

Maps without index names (note). Console line:

Note: maps without index names; read from their depth and keys (<N> cases, e.g. '<name>') [W-0515]

Some values of the parameter are maps whose index levels have no names, so FlexTool reads them (over periods, time or both) from their depth and keys. The debug log says how each entity's maps were read.

How to fix: name the index levels of the maps (for example period and time) to make the reading explicit.

W-0516

Timeset block of a fractional length (warning). Console line:

Warning: timeset block length is not a whole number of time steps (<N> cases, e.g. '<name>') [W-0516]

A block of the timeset's timeset_duration has a length that is not a whole number of time steps. The whole time steps are used. The debug log gives the block and its length.

How to fix: give the block length as a whole number of time steps.

W-0517

Timeset block past the end of the timeline (warning). Console line:

Warning: timeset block runs past the end of its timeline; cut there (<N> cases, e.g. '<name>') [W-0517]

A block of the timeset's timeset_duration has more time steps than its timeline has from the block's start, so the block is cut at the end of the timeline. The debug log gives the block, its length and the time steps left.

How to fix: shorten the block or start it earlier, or extend the timeline.

W-0518

Time series with gaps inside a solve step (warning). Console line:

Warning: a new_stepduration step has values for only some of its time steps (<N> cases, e.g. '<name>') [W-0518]

The named time series (class.parameter) has values for only some of the time steps that a solve step of new_stepduration combines. The solve step is made of the time steps that have a value; the default of the other time steps is not part of it. The debug log gives an example entity and step.

How to fix: give the time series a value in every time step (or none of a solve step's), or check that its time steps are those of the timeline.

W-0519

Value that varies within a solve step makes a curve approximate (warning). Console line:

Warning: value of <parameter> varies within a solve step; its curve is approximate (<N> cases, e.g. '<name>') [W-0519]

unit.min_load varies within a solve step of new_stepduration for the named units with min_load_efficiency. The solve step uses the mean min_load and the harmonic means of efficiency and efficiency_at_min_load, so the min_load_efficiency curve (slope and section) of those steps is an approximation of the step mean of the hourly curves. It is exact for a min_load that is constant within each solve step.

How to fix: usually nothing. For an exact curve, keep min_load constant within each solve step (or use a shorter new_stepduration).

W-0585

Relative capacity margin without demand (warning). Console line:

Warning: capacity margin relative_of_peak_demand without demand; margin 0 (<N> cases, e.g. '<name>') [W-0585]

The group has capacity_margin_method relative_of_peak_demand and a positive capacity_margin_relative, but its nodes have no demand in some investment period: the peak demand is 0 there, so the margin there is 0. The debug log names the periods.

How to fix: check the demand (inflow) of the group's nodes in those periods, or give the margin with capacity_margin_method absolute.

W-0586

Reserve group without nodes (warning). Console line:

Warning: reserve group has no nodes in the solve; its reserve is left out (<N> cases, e.g. '<name>') [W-0586]

The group has a reserve_method other than no_reserve, but no node in the solve (no group__node row). No node of the group can hold its reserve, so its reserve requirements are left out of the solve. Each group is named once per run.

How to fix: add the group's nodes (group__node), or remove the reserve from the group.

W-0587

Stochastic-time value outside the solve's use (warning). Console line:

Warning: stochastic-time <parameter> has no folded value in the solve; not applied (<N> cases, e.g. '<name>') [W-0587]

The entity has a stochastic-time value (a map over branches and time) of the parameter, but the solve does not use the parameter for it (the entity is outside the solve's use of the parameter), so the value has no folded row in the solve and is not applied. Each entity is named once per run and parameter.

How to fix: nothing, if the value is not meant for this solve; otherwise check that the entity takes part in the solve with the parameter.

W-0589

Efficiency of a one-variable connection as a unit conversion (warning). Console line:

Warning: one-variable connection: efficiency converts units, the same both ways (<N> cases, e.g. '<name>') [W-0589]

A one-variable connection (transfer_method no_losses_no_variable_cost) carries both directions in one signed flow. Its two nodes have different unit_of_measure values, so its efficiency (other than 1) is used as a unit conversion (e.g. MWh to t): the flow f arriving at the second node takes f / efficiency from the first node, and in the reverse direction the first node gets f / efficiency for the f taken from the second. The same conversion holds both ways, so it cannot model losses. The debug log gives the efficiency of each connection. The warning is printed once per solve.

How to fix: nothing, if the efficiency is a unit conversion. For losses, use transfer_method regular or exact.

W-0590

Variable cost of a one-variable connection (warning). Console line:

Warning: one-variable connection has other_operational_cost; ignored (<N> cases, e.g. '<name>') [W-0590]

A one-variable connection (transfer_method no_losses_no_variable_cost, and the lines of a dc_power_flow_with_angles group) carries both directions in one signed flow, so a cost on that flow would be a cost in one direction and a revenue in the other. Its other_operational_cost is ignored (treated as zero) in the solve and in the cost results. The warning is printed once per solve.

How to fix: use transfer_method variable_cost_only, regular or exact for a connection with a variable cost, or remove the cost.

W-0591

Efficiency of a one-variable connection ignored (warning). Console line:

Warning: cannot model losses with one flow variable; efficiency ignored (<N> cases, e.g. '<name>') [W-0591]

A one-variable connection (transfer_method no_losses_no_variable_cost, and the lines of a dc_power_flow_with_angles group, which use it internally) carries both directions in one signed flow, so it cannot model losses: a loss in one direction would be a gain in the other. Its efficiency is ignored (treated as 1) on a line of a dc_power_flow_with_angles group, and on a no_losses_no_variable_cost connection unless both its nodes have a unit_of_measure and the two differ (then the efficiency is a unit conversion: W-0589). The debug log gives the efficiency that was ignored. The warning is printed once per solve.

How to fix: for losses, use transfer_method regular or exact (for a DC power-flow line, accept a lossless line), or remove the efficiency.

Lifetimes, investments and units

W-0520

Existing capacity replaced automatically (note). Console line:

Note: existing capacity replaced at its end of life in the horizon (<N> cases, e.g. '<name>') [W-0520]

The existing capacity of the entity (lifetime_method reinvest_automatic) reaches its end of life inside the model horizon and is replaced at the invest_cost of the period the replacement comes online. The replacement is reported as investment pre-existing, outside the optimised objective (as the fixed cost of existing capacity). The debug log gives the year of the replacement.

How to fix: nothing, if this is meant. Use lifetime_method reinvest_choice to let the model decide the replacement, or no_reinvestment to let the capacity retire.

W-0521

Existing capacity past its end of life (warning). Console line:

Warning: existing capacity past its end of life at the model start (<N> cases, e.g. '<name>') [W-0521]

The end of life of the entity's existing capacity (lifetime_technical, with its age or build_year) is before or at the start of the model, or the end_of_life_method rounds it to the model start, so its existing capacity is 0 in every period. The debug log gives the years.

How to fix: check the entity's age (age_at_model_start or build_year) and lifetime_technical.

W-0522

Investments that would never operate (warning). Console line:

Warning: investments would never operate (end of life at start) (<N> cases, e.g. '<name>') [W-0522]

The investment decisions of the entity would be in service in no period: lifetime_technical with the end_of_life_method rounds their end of life to the start of the period they start to operate in. They are not offered (their investment minimums do not apply). The debug log gives the periods.

How to fix: use a longer lifetime_technical or an end_of_life_method that keeps the capacity for its period (for example next_seam).

W-0523

Life extensions that would never operate (warning). Console line:

Warning: life extensions would never operate (end of life at start) (<N> cases, e.g. '<name>') [W-0523]

The life extensions of the entity would be in service in no period: life_extension_years with the end_of_life_method rounds their end of life to the start of the period they start in. They are not offered. The debug log gives the periods.

How to fix: use a longer life_extension_years or an end_of_life_method that keeps the capacity for its period.

W-0524

Investments that would start after the model horizon (warning). Console line:

Warning: investments would start after the model horizon; not offered (<N> cases, e.g. '<name>') [W-0524]

With its construction_lead_time, the capacity of the entity's investment decisions in some periods would start to operate after the end of the model horizon, so these investments are not offered. The debug log gives the lead time and the periods.

How to fix: nothing, if this is meant. Otherwise extend the model horizon, shorten the construction_lead_time or use construction_lead_time_method immediate.

W-0525

Investments that would start after the solve (warning). Console line:

Warning: investments would start after solve '<solve>'; not offered (<N> cases, e.g. '<name>') [W-0525]

With its construction_lead_time, the capacity of the entity's investment decisions in some periods would start to operate after the end of the solve, so these investments are not offered in this solve. The debug log gives the lead time and the periods.

How to fix: use a longer solve horizon (more investment periods in the solve) or construction_lead_time_method immediate.

W-0526

Fractional number of existing units (warning). Console line:

Warning: integer online units: existing is not whole units (<N> cases, e.g. '<name>') [W-0526]

The unit or connection has integer online variables (whole units: startup_method integer or integer_fix_in_uc), but its existing capacity divided by its unit size is not a whole number of units in some period. Integer online units cannot use the fraction (below 1 the unit can never be online, which can make a minimum such as min_instant_flow infeasible). Without virtual_unitsize, one unit is the largest existing capacity over the periods. The debug log gives the counts per period.

How to fix: set virtual_unitsize to the size of one unit and existing to the number of units, or use startup_method linear (linear_fix_in_uc in place of integer_fix_in_uc).

W-0527

Salvage value above the investment cost (warning). Console line:

Warning: net_salvage_value worth more than invest_cost: yearly cost below 0 (<N> cases, e.g. '<name>') [W-0527]

A plant the model can build (an investment, or a generation of its replacement chain) has a net_salvage_value worth more than its invest_cost (the salvage at the end of its life, discounted at discount_rate): its yearly cost is below 0, so the model builds as much as the investment limits allow. Each entity is named once per run.

How to fix: check net_salvage_value against invest_cost (also in the periods a replacement comes online).

W-0528

Free replacement with a salvage value (warning). Console line:

Warning: free automatic replacement keeps its net_salvage_value (<N> cases, e.g. '<name>') [W-0528]

The existing capacity (lifetime_method reinvest_automatic) is replaced at its end of life by a plant without an invest_cost that still has a net_salvage_value: the replacement is free and keeps its salvage value, so keeping the capacity earns that salvage value and a retirement gives it up. Each entity is named once per run.

How to fix: set invest_cost if the replacement, and so the retirement, should be priced.

W-0529

Building to retire earns money (warning). Console line:

Warning: building and retiring the capacity earns money (<N> cases, e.g. '<name>') [W-0529]

Building the capacity and retiring it earns money: the net_salvage_value received at retirement is worth more than what the capacity costs until then (invest_cost, fixed_cost, discount_rate). The model builds as much as the investment limits allow just to retire it; without a limit the problem is unbounded. Each entity is named once per run.

How to fix: check net_salvage_value against invest_cost.

W-0584

Retirement option with nothing to retire (warning). Console line:

Warning: retirement option without existing capacity or an investment option (<N> cases, e.g. '<name>') [W-0584]

The entity has a retirement option (invest_method) but no existing capacity in any period (none given, or 0 everywhere) and no investment option. Only existing capacity and capacity the model builds can be retired, so there is no retirement variable; retired-capacity terms of user constraints and group retirement limits are 0. Each entity is named once per run.

How to fix: give the entity existing capacity or an investment option, or choose an invest_method without retirement.

Nodes

W-0300

Node with inflow but no units or connections (warning). Console line:

Warning: node has no units or connections; only slack can meet its inflow (<N> cases, e.g. '<name>') [W-0300]

The node has an inflow but no unit (unit__inputNode / unit__outputNode) or connection (connection__node__node), so only the penalty slack (penalty_up / penalty_down) can meet the inflow. The debug log gives the alternative of the inflow.

How to fix: connect the node, or remove its inflow (or the node).

W-0301

Node without units, connections or inflow (warning). Console line:

Warning: node has no units, connections or inflow; it does nothing (<N> cases, e.g. '<name>') [W-0301]

The node has no unit, no connection and no inflow; it does nothing in this scenario.

How to fix: connect the node, or leave it out of the scenario.

W-0302

Node that nothing supplies (warning). Console line:

Warning: node's units and connections only take energy out of it (<N> cases, e.g. '<name>') [W-0302]

A balance / balance_within_period node with no positive inflow, whose units and connections only take energy out of it. Nothing brings energy in, so those flows stay at 0, or only the penalty slack (penalty_up) can supply them.

How to fix: add a unit or connection that supplies it, give it a positive inflow, or make it a commodity node.

W-0303

Node that nothing drains (warning). Console line:

Warning: node's units and connections only bring energy into it (<N> cases, e.g. '<name>') [W-0303]

A balance / balance_within_period node with no negative inflow (demand), whose units and connections only bring energy into it. Nothing takes energy out, so those flows stay at 0, or only the penalty slack (penalty_down) can absorb them.

How to fix: add a unit or connection that takes from it, or give it a negative inflow.

W-0304

invest_method on a node that is not a storage node (warning). Console line:

Warning: non-storage node has an invest_method; it cannot invest (<N> cases, e.g. '<name>') [W-0304]

Node investment and retirement are storage capacity: only a node with node_type: storage can invest or retire. The node's invest_method is ignored. The debug log gives the method and the node type.

How to fix: remove the invest_method, or make the node a storage node.

Plots

W-0406

Plot of results that were not written (note). Console line:

Note: plot settings name results this run did not write; not plotted (<N> cases, e.g. '<name>') [W-0406]

The plot settings ask for result tables that the run did not write (an output that is switched off, or a feature the model does not have), so those plots are skipped.

How to fix: nothing, or remove the plots from the plot settings.

Profiles

W-0306

Profile link without profile_method (warning). Console line:

Warning: profile link (<cls>) has no profile_method; the profile is not applied (<N> cases, e.g. '<name>') [W-0306]

A node__profile / connection__profile link without an authored profile_method gets the default none, so the profile is not applied. An explicit none is not reported.

How to fix: set profile_method upper_limit, lower_limit or fixed, or remove the link.

W-0307

Profile that looks like a percentage (warning). Console line:

Warning: profile above 1.5 limits a unit flow; it looks like a percentage (<N> cases, e.g. '<name>') [W-0307]

The profile limits a unit flow (upper_limit or fixed) and has values above 1.5. A profile is a share of the capacity (0.35, not 35). The debug log gives the value, the alternative and the key.

How to fix: give the profile as a share.

Results of a solve

W-0530

Capacity margin shortfall (warning). Console line:

Warning: capacity margin not met in solve '<solve>'; penalty paid (<N> cases, e.g. '<name>') [W-0530]

The group's capacity margin constraint is not met in the investment period (the name is group, period): the solve pays penalty_capacity_margin for the shortfall. The debug log gives the shortfall (MW), the time step that binds and the penalty; the results have capacity_margin_report tables.

How to fix: allow more investment (or existing capacity) in the group, lower capacity_margin, or accept the penalty if it is meant as a price.

W-0531

Piecewise unit burns input for nothing (warning). Console line:

Warning: piecewise unit used more input than its curve needs (<N> cases, e.g. '<name>') [W-0531]

A unit with a piecewise efficiency curve used more weighted input (input × conversion_flow_coeff) than its curve needs in some realized time steps. Its input had no cost or a negative cost there (a surplus, a free or curtailed input, a CO2 credit), or a reserve or a minimum on its input made it pay, so the solution is not unique or burns input for nothing. The debug log gives the time steps and the amounts.

How to fix: give the input a cost, or check the reserves and minimums on the unit's input.

W-0570

Benders solve without results (warning). Console line:

Warning: benders solve '<solve>' is last and its final solve is off; no result tables written (<N> cases, e.g. '<name>') [W-0570]

The named solve is decomposed with Benders (decomposition = benders), it is the last solve of the run, and its final solve is off (--benders-final-solve off / FLEXTOOL_BENDERS_FINAL_SOLVE=off). The final solve is what solves the whole model once with the investments the Benders solve found, and it is what writes the solve's results. Without it no result table (csv, parquet, results database, plots) is written. The Benders bounds and gap are in the log, and the run ends normally.

How to fix: drop --benders-final-solve off (and unset FLEXTOOL_BENDERS_FINAL_SOLVE) if the whole model fits in memory. If it does not, add a dispatch solve after the Benders solve (for example a rolling solve): it receives the investments, and the Benders solve then writes its investments and their costs.

W-0571

Benders solve without investment marginal values (note). Console line:

Note: investment marginal values of benders solve '<solve>' are not in the results (<N> cases, e.g. '<name>') [W-0571]

The named solve is decomposed with Benders and its final solve is off (--benders-final-solve off / FLEXTOOL_BENDERS_FINAL_SOLVE=off). The solve writes its investment and retirement decisions, their costs and its objective; its dispatch comes from the solves after it. The marginal values of the investments (the *_invest_marginal__d and dual_invest_* tables) come only from a solve of the whole model, which the final solve is, so they are not written for this solve. FlexTool does not estimate them from the decomposition.

How to fix: drop --benders-final-solve off (and unset FLEXTOOL_BENDERS_FINAL_SOLVE) if the whole model fits in memory.

W-0572

Final solve of a Benders solve failed or disagrees (warning). Console line:

Warning: final solve of benders solve '<solve>' <problem> (<N> cases, e.g. '<name>') [W-0572]

After a Benders solve, FlexTool solves the whole model once with the Benders investments fixed (the final solve) and writes the solve's results from it. The line says what went wrong:

  • failed: the final solve did not end with an accepted solution (infeasible, unbounded, a time limit, the solver process stopped or was killed, or the whole model did not fit in memory: then the line says out of memory). The run still ends normally, since the Benders result itself is valid. A configuration, licence or internal error in the final solve (an option the solver refuses, a missing solver or licence) is not this warning: it stops the run with an error, as without Benders. When the Benders solve is followed by other solves, it writes its investments and their costs (as with --benders-final-solve off) and the later solves give the dispatch; when it is the last solve, no result table is written.
  • objective outside the Benders bounds: the final solve's objective is not between the lower and upper bound of the Benders solve (the line gives the three values). The results of the final solve are written. The decomposed and the whole model then do not agree on the cost of the same investments.

The Benders incumbent is a feasible plan of the whole model, so the final solve should always find a solution at most the upper bound. A failure points to numerical trouble (scaling) or to a problem in the decomposition.

How to fix: out of memory: --benders-final-solve off (FLEXTOOL_BENDERS_FINAL_SOLVE=off) skips the final solve; add a dispatch solve after the Benders solve to get results. Otherwise check the solver log of the final solve and the scaling lines (--debug shows more). Try the solve without decomposition (decomposition = none) on a smaller case; if the two disagree, report it with the debug log.

Scaling guard

W-0543

Scaling guard: wide span of limits and bounds (warning). Console line:

Warning: limits and bounds span over 13 decades; small limits may be violated (<N> cases, e.g. '<name>') [W-0543]

The scaling guard checks the LP the solver gets, after FlexTool's scaling, before the solve starts. Here the limits and bounds (variable bounds and constraint right-hand sides) span more than 13 decades: the solver may violate the smallest limits by up to its feasibility tolerance, scaled. The case is the solve (with the roll or the Benders region). The run log (_run.log in the run's output_parquet folder; the debug log with --debug) gives the span, the largest and smallest values and where they are, and how much the smallest limit could be violated; the YAML audit solve_data/autoscale_<solve>.yaml in the work folder has the numbers too. The solve continues. A warning is shown once per run for each solve, Benders region and kind of finding; a later roll that gets a scale of its own shows it again.

How to fix: a placeholder for "no limit" (1e18, 1e30, ...): give inf instead. Tiny values that are really zero: give 0, or leave the parameter out. Genuinely different scales: change units, or split the model. If the run log says that Layer 2 widened the span, --scaling basic avoids that. --scaling-guard off (FLEXTOOL_SCALING_GUARD=off; in the GUI: Solver options, Scaling guard: Off) hides this check.

W-0544

Scaling guard: limits and bounds cannot be scaled (warning). Console line:

Warning: limits and bounds do not fit the solver's accurate range; solved anyway (<N> cases, e.g. '<name>') [W-0544]

The limits and bounds of the solve span more than the solver handles accurately at its feasibility tolerance after FlexTool's scaling (more than 17 decades for HiGHS), or the scale given with --user-bound-scale / FLEXTOOL_USER_BOUND_SCALE or user_bound_scale in the solver options puts them outside that range. Under --scaling-guard error (the default) this stops the solve; it shows as this warning under --scaling-guard warn, and always for a commercial solver (which gets no FlexTool scaling). The solve goes on and may violate the smallest limits. The case is the solve (with the roll or the Benders region). The run log (_run.log in the run's output_parquet folder; the debug log with --debug) gives the span, the largest and smallest values and where they are, and how much the smallest limit could be violated; the YAML audit solve_data/autoscale_<solve>.yaml in the work folder has the numbers too.

How to fix: a placeholder for "no limit" (1e18, 1e30, ...): give inf instead. Tiny values that are really zero: give 0, or leave the parameter out. Genuinely different scales: change units, or split the model. If the run log says that Layer 2 widened the span, --scaling basic avoids that.

W-0545

Scaling guard: objective costs (warning). Console line:

Warning: objective costs span over 13 decades or near zero after scaling (<N> cases, e.g. '<name>') [W-0545]

After FlexTool's scaling, the costs of the objective span more than 13 decades (the cheapest choices may be decided by rounding), or the smallest scaled cost is below 10 times the dual feasibility tolerance (the solver may treat it as zero). The case is the solve (with the roll or the Benders region). The run log (_run.log in the run's output_parquet folder; the debug log with --debug) gives the span and the objective terms at each end; the YAML audit solve_data/autoscale_<solve>.yaml in the work folder has the numbers too. The solve continues.

How to fix: check the objective terms the run log names (their units, or values that are really zero). --scaling-guard off (FLEXTOOL_SCALING_GUARD=off; in the GUI: Solver options, Scaling guard: Off) hides this check.

W-0546

Scaling guard: coefficients HiGHS drops or refuses (warning). Console line:

Warning: coefficient terms HiGHS drops or refuses (<N> cases, e.g. '<name>') [W-0546]

After FlexTool's scaling, some constraint coefficients are 1e-9 or less (HiGHS drops them from the model) or 1e15 or more (HiGHS refuses such a model). The case is the solve (with the roll or the Benders region). The run log (_run.log in the run's output_parquet folder; the debug log with --debug) gives the values and where they are; the YAML audit solve_data/autoscale_<solve>.yaml in the work folder has the numbers too. HiGHS equilibrates the matrix itself; the solve continues.

How to fix: check the inputs behind the coefficients the run log names (their units, or values that are really zero). --scaling-guard off (FLEXTOOL_SCALING_GUARD=off; in the GUI: Solver options, Scaling guard: Off) hides this check.

W-0547

Scaling guard could not run (warning). Console line:

Warning: scaling guard could not run<why>; solves go on unchecked (<N> cases, e.g. '<name>') [W-0547]

The scaling guard could not judge a solve: the range readout of the LP failed, or the check itself failed. The solves go on without the check. It is shown once per run; the debug log has the details.

How to fix: nothing is needed for the solve. If it repeats, report it with the debug log (--debug).

Solver outcome

W-0540

Optimal within a multiple of the relative tolerances (note). Console line:

Note: solve '<solve>' optimal by HiGHS at up to <factor>x its relative tolerances<rolls> (<N> cases, e.g. '<name>') [W-0540]

HiGHS called the solve optimal, although its solution misses some of HiGHS's tolerances (by default 1e-7) also in relative terms, by up to the factor given (HiGHS's own log says Model status is "Optimal" since relative violation of tolerances is no more than X; the note gives that X). After an interior-point solve without crossover (solver = ipm, run_crossover = off) X measures the relative violations, relative to the size of the numbers in each row and column; after simplex or crossover it measures the absolute infeasibilities and the gap between the primal and dual objectives. The factor tells how serious it is: a factor up to about 10 means the flows, storage levels and costs are accurate to about a millionth (1e-6) of their size, which is far below the accuracy of any input data: the results are usable. The duals (prices) are less exact than the primal values: small differences in prices between equivalent nodes or time steps can be numerical noise. The debug log names the checks and their largest violations. Each solve is noted once: for a rolling solve the note comes after its rolls, says in how many rolls it happened and gives the largest factor; the debug log names each roll, the worst first.

How to fix: usually nothing. If prices or small values matter, or the factor is large: add run_crossover = on to the solve's solver_arguments to run crossover (or set solver = simplex there). Crossover turns the interior point into a vertex solution that HiGHS certifies against the absolute tolerances; it takes extra time, which on a large model can be much more than the interior point itself. Scaling problems (see the Coefficient ranges HiGHS prints and the autoscale line) make the outcome more likely: fixing the units of very large or very small numbers helps too.

W-0541

Interior point without crossover: HiGHS's tolerance warnings (note). Console line:

Note: these HiGHS IPX warnings ('imprecise', 'Unwelcome IPX status', 'Model status changed from Unknown to Optimal') are expected in this solver mode and the solve was accepted by FlexTool's checks (<N> cases, e.g. '<name>') [W-0541]

The solve ran the interior-point method without crossover (solver = ipm, run_crossover = off) and HiGHS called the result optimal. Such a solution is an interior point, not a vertex, and HiGHS checks it against its tolerances (by default 1e-7) both in absolute terms and relative to the size of the numbers in each row and column. Its log then often has WARNING lines that read as alarms but are expected here:

  • Status interior point solve: imprecise, WARNING: Unwelcome IPX status ... run_crossover is "off", WARNING: Running postsolve on non-optimal solution of reduced LP and WARNING: Model status changed from "Unknown" to "Optimal": the interior point stopped a little short of HiGHS's own target, and the solution of the full model meets the tolerances after postsolve.
  • WARNING: Solution optimality conditions (also : Before postsolve) with a table of num/max violations: absolute violations in rows or columns with large numbers. The relative numbers in the same table are what counts.
  • WARNING: LP solver claims optimality, but with ... relative ... and Model status is "Optimal" since relative violation of tolerances is no more than X: the relative violations are at most X times the tolerance. A "Before postsolve" one concerns the presolved model only. An X up to about 10 means the flows, storage levels and costs are accurate to about a millionth of their size, far below the accuracy of any input data.

The results are usable. The duals (prices) are less exact than the primal values: small price differences between equivalent nodes or time steps can be numerical noise.

The note is printed once per run, at the first interior-point solve without crossover, whether or not HiGHS printed these warnings for it; it covers the warnings of the later solves of the run too. FlexTool cannot read HiGHS's log. A solve that HiGHS accepted only at a multiple of its tolerances also gets W-0540, with that multiple.

How to fix: usually nothing. If a certified optimum matters: add run_crossover = on to the solve's solver_arguments to run crossover (or set solver = simplex there). Crossover turns the interior point into a vertex solution that HiGHS certifies against the absolute tolerances; it takes extra time, which on a large model can be much more than the interior point itself. Scaling problems (see the Coefficient ranges HiGHS prints and the autoscale line) make the outcome more likely: fixing the units of very large or very small numbers helps too.

W-0542

Near-optimal solve accepted (note). Console line:

Note: solve '<solve>' not certified optimal by HiGHS; its feasible solution is used (<N> cases, e.g. '<name>') [W-0542]

HiGHS ended the solve with model status Unknown: after an interior-point solve without crossover, postsolve left the dual objective slightly inconsistent, so HiGHS cannot certify the optimum. FlexTool checked the solution itself: the primal solution (the flows, storage levels and investments the results are made of) is feasible within the tolerances, and the gap between the primal and dual objectives is within the accepted optimality gap (FLEXTOOL_ACCEPT_PD_GAP, by default 1 %), so the solution is used as near-optimal. The objective can be off the true optimum by at most that gap. The debug log and the run record (_run_status.json) give the numbers. A solve that fails these checks stops the run with an error instead. Each solve is noted once.

How to fix: usually nothing. If the exact optimum or the prices matter: add run_crossover = on to the solve's solver_arguments to run crossover (or set solver = simplex there). Crossover turns the interior point into a vertex solution that HiGHS certifies against the absolute tolerances; it takes extra time, which on a large model can be much more than the interior point itself. Scaling problems (see the Coefficient ranges HiGHS prints and the autoscale line) make the outcome more likely: fixing the units of very large or very small numbers helps too.

Solves and realization

W-0500

Two solves realize the same dispatch (warning). Console line:

Warning: solves realize the same <steps> time steps (<periods>); the later is kept (<N> cases, e.g. '<name>') [W-0500]

Both named solves realize dispatch in the same time steps of the named periods. The solve that runs later keeps those time steps; the earlier solve's results for them are not reported. The line counts the time steps and periods over all levels of the two solves (the rolls of a rolling solve count as that solve). This is expected when, for example, a dispatch solve is nested inside an investment solve.

How to fix: if the overlap is not meant, check the realized_periods of the two solves (and, for rolling solves, rolling_jump / rolling_horizon) so that each time step is realized by one solve.

W-0501

Two solves realize the same investment periods (warning). Console line:

Warning: two solves both realize the investments of <periods> (<N> cases, e.g. '<name>') [W-0501]

Both named solves list the same period(s) in realized_invest_periods. Investments of a period should be realized by only one solve. If the later solve can also invest in that period, it treats the earlier solve's investment as existing capacity and may invest more on top of it; the reported invested capacity and investment cost of the period then come from the later solve only, although the total capacity includes both.

How to fix: remove the period from the realized_invest_periods of one of the solves.

W-0502

Realised state not before the solve's start (warning). Console line:

Warning: a realised state ends after solve '<solve>' starts; not carried (<N> cases, e.g. '<name>') [W-0502]

A solve continues the states (storage levels, on-line units, ramps) that the earlier solves of its nesting level realised before its first time step. The named earlier solve realised a state that ends at or after the start of this solve, so it is not carried into this solve. The debug log gives the time steps.

How to fix: check the realized_periods and the time steps of the two solves: a solve that continues another should start after the last time step the other realizes.

W-0503

First solve of a nesting level does not continue the higher level (warning). Console line:

Warning: solve '<solve>' starts a level: storage not from the higher level (<N> cases, e.g. '<name>') [W-0503]

The solve is the first solve of its nesting level, so its storage nodes start from their storage_start_end_method (fix_start) or free, not from the state a solve of a higher level realised before it. This happens when a nesting level first appears later in the model.

How to fix: usually nothing. If the storage should continue the higher level's state, start the nested level together with the higher level, or give the storage nodes a storage_state_start.

W-0504

Minimum up / down time look-back cut short (warning). Console line:

Warning: minimum <parameter> look-back cut short at a start of solve '<solve>' (<N> cases, e.g. '<name>') [W-0504]

The process has min_uptime or min_downtime, but at a first time step of a period of the solve the look-back covers 0 hours: the time steps before it belong to an earlier solve, and this step does not continue the last step that solve realized. No realized on-line history reaches it, so the earlier start-ups and shut-downs do not constrain it. The debug log names the time step.

How to fix: make the solves continue each other in time (a hole or an overlap between the realized time steps of the solves causes this), or accept the looser constraint at that step.

W-0505

Group new_stepduration shorter than the solve's time step (warning). Console line:

Warning: group new_stepduration shorter than the time step of solve '<solve>' (<N> cases, e.g. '<name>') [W-0505]

The group's new_stepduration would make its nodes coarser than the solve's time step, but it is shorter than that step, so it has no effect: the group's nodes are balanced at the solve's own time step. The debug log gives both durations.

How to fix: remove new_stepduration from the group, or give it a multiple of the solve's time step (the solve's own new_stepduration, or its timeline's step).

W-0506

Rolls of a rolling solve realize the same dispatch (warning). Console line:

Warning: rolls of solve '<solve>' realize the same <steps> time steps (<periods>); the later is kept (<N> cases, e.g. '<name>') [W-0506]

Two rolls of the same rolling solve realize dispatch in the same time steps of the named periods. Each roll should realize only the time steps up to the start of the next roll (rolling_jump); here a roll realizes time steps that a later roll realizes again, and the later roll's results are kept. The line counts the time steps and periods over all pairs of rolls; the debug log names each pair and period.

How to fix: check the solve's rolling_jump, rolling_horizon and rolling_duration, and its realized_periods: each roll should realize only the rolling_jump time steps before the next roll starts.

W-0507

Unit or connection listed in a coarse group (warning). Console line:

Warning: unit or connection in a new_stepduration group links nodes outside it (<N> cases, e.g. '<name>') [W-0507]

The unit or connection (named with the group) is listed in a group that has a new_stepduration longer than the solve's time step, and it connects to node(s) outside that group. Listing a unit or connection in such a group has no effect on time resolution: its flows and online status stay at the solve's time step, and each coarse node sums the flows over its coarse step. The debug log names the nodes outside the group.

How to fix: usually nothing; remove the unit or connection from the group (group__unit / group__connection) to silence the warning. Only the nodes of a group get its time step.

W-0508

Forecasts where no solve or roll fans out (warning). Console line:

Warning: stochastic_branches forecasts where no solve or roll fans out; ignored (<N> cases, e.g. '<name>') [W-0508]

stochastic_branches declares forecasts (a solve, a period and an analysis_time) where no solve or roll fans out, and FlexTool ignores them. A solve or roll fans out once, at its first reveal, and its branches read the forecasts made then through the rest of its horizon. Each case is a complete solve, a period and an analysis time; the debug log gives the forecast branches and the solve or roll whose horizon reaches them.

How to fix: to use these forecasts, make a roll start there (rolling_solve_jump) or put the later fan in a separate solve; otherwise remove these stochastic_branches rows.

W-0588

Realization solve that inherits nothing (note). Console line:

Note: realization '<solve>' keeps nothing of '<parent>': its results do not depend on it (<N> cases, e.g. '<name>') [W-0588]

The realization solve takes from its stochastic solve the units online of the units and connections with startup_method linear_fix_in_uc or integer_fix_in_uc, and the investments. Here there are neither: no unit or connection with a _fix_in_uc method has units online in the realization solve (units with linear or integer are decided again with the realized data; units without online variables, or with reduce_unit_detail_method leaving them out, have none), and the stochastic solve decides no investments (no invest_periods or realized_invest_periods; a rolling solve builds no investment in its rolls). Storage and the other states continue from the previous realization, not from the stochastic solve, and reserve is met again with the realized data. So the realized results do not depend on the stochastic solve, and its forecasts only change its own results. The realization of a single solve dispatches its committed window with the realized data and no look-ahead; the realization added to a rolling separate_dispatch solve dispatches each jump with the realized data and then looks ahead with the forecasts made at the end of the jump. Two kinds of rolling solve keep a realization solve that does not look ahead with the forecasts: in a model with delayed units (note W-0594) a rolling separate_dispatch or within_solve solve, and a rolling stochastic solve followed by a realization solve you configure yourself (that solve dispatches as you configured it). The note is printed once per realization solve.

How to fix: nothing, if that is meant. For a commitment made in the stochastic solve that holds in the realization, give those units startup_method integer_fix_in_uc or linear_fix_in_uc. For a rolling solve that should keep nothing of a separate unit-commitment solve, use dispatch_realization_method within_solve: each roll is then one solve (not in a model with delayed units, note W-0594).

W-0592

Outage ends a carried obligation (note). Console line:

Note: an outage ended an obligation carried over from an earlier solve (<N> cases, e.g. '<name>') [W-0592]

An earlier solve started these units, or left them ramping down. Their minimum up-time, or ramp-down limit, would have kept them running into time steps where they cannot run: their capacity derated by availability there is below the minimum load of the units the obligation keeps online (for the ramp-down limit, the flow their capacity allows there is below what the limit asks for). That solve could not see the outage, because it lay beyond its horizon or only the realized data have it. FlexTool ends the carried obligation at the first such step, and the rest of its minimum up-time is dropped. A realization solve keeps the units online its stochastic solve committed up to such an outage and decides the unit again from the outage on. A solve that sees an outage coming still keeps the minimum up-time: it does not start a unit it cannot keep. The debug log gives the solve and the step of each unit. The note is printed once per run.

How to fix: nothing, if the outage could not be foreseen. If it was planned, make sure the solve that starts the unit sees it: give it in the stochastic solve's forecasts, or lengthen rolling_solve_horizon.

W-0593

Deterministic solve with stochastic branches (warning). Console line:

Warning: solve '<solve>' has dispatch_realization_method deterministic: forecasts not solved (<N> cases, e.g. '<name>') [W-0593]

The solve is a dispatch solve with stochastic_branches, and its dispatch_realization_method is deterministic (the default of a dispatch solve since FlexTool 4.7.0; an investment solve, a solve that is not rolling and has invest_periods or realized_invest_periods, does not read the method and always solves its forecasts). It is solved with the data of the realized: yes branch only, as one timeline: each time step reads the realized series that covers it (where several do, the one made nearest to the start of the solve, or of the roll in a rolling solve). The forecasts and the realization solve are ignored. Without a realized: yes branch, or at a time step no realized series covers, the run stops with an error.

How to fix: set dispatch_realization_method to within_solve or separate_dispatch to solve the forecasts.

W-0594

Realization without look-ahead: delayed units (note). Console line:

Note: solve '<solve>' has delayed units: each jump is realized without look-ahead (<N> cases, e.g. '<name>') [W-0594]

The solve is a rolling solve with stochastic_branches and dispatch_realization_method within_solve or separate_dispatch, and the model has units with a delay. Such a solve realizes each jump in a realization solve that dispatches it on the realized data, continuing from the previous realization and keeping what it inherits from the roll's stochastic solve (note W-0588): the realization itself does not look past the jump with the forecasts made at its end. The look-ahead is not available with delays: within the roll a delay wraps the last time steps' flows back to its first ones, and the forecasts that follow the jump would all wrap into the same first time steps. The note names the delayed units and is printed once per run.

How to fix: nothing, if that is meant. For the look-ahead, model the units without delay.

W-0639

Investments branch at the first period (warning). Console line:

Warning: investment solve '<solve>': investments branch at its first period (expert option) (<N> cases, e.g. '<name>') [W-0639]

The solve is an investment solve with invest_solve_branching_method investments_at_reveal_period, and its forecasts start at its first period. Every forecast then invests and operates on its own from the start, as one deterministic solve per forecast weighted together (the wait-and-see value of the forecasts). No decision is shared, so nothing can be realized: the solve gets no realization dispatch, and the normal results hold no investment or operation of the forecasts. They are written only by the model.output_horizon dump.

How to fix: nothing, if the wait-and-see value is intended. To decide one investment for every forecast at the first period, set investments_after_reveal_period (or leave the setting out: operations_only); to learn after a first period, start the forecasts at a later period.

W-0640

separate_dispatch on an investment solve (warning). Console line:

Warning: investment solve '<solve>': dispatch_realization_method separate_dispatch ignored (<N> cases, e.g. '<name>') [W-0640]

The solve is an investment solve (not rolling, with invest_periods or realized_invest_periods), and it sets dispatch_realization_method separate_dispatch, which applies to dispatch solves only. An investment solve does not read dispatch_realization_method: it solves its forecasts under its invest_solve_branching_method, and with a realized: yes branch it gets the realization dispatch of an investment solve under operations_only and investments_after_reveal_period (none under investments_at_reveal_period, where nothing from the reveal period on can be realized). The value is ignored.

How to fix: remove dispatch_realization_method from the solve. To dispatch in two steps, put a dispatch solve after it in model.solves: no invest_periods, realized_periods = the periods to dispatch, stochastic_branches with a realized: yes branch, dispatch_realization_method separate_dispatch; leave those periods out of the realized_periods of the investment solve, but keep them in its realized_invest_periods: a solve dispatches a period only after the period's investments are realized, otherwise the run stops with an error (with investments_after_reveal_period these are the periods up to the reveal period, with investments_at_reveal_period those before it). The dispatch solve starts from the investments the investment solve realized.

W-0641

Dispatch on investments that are not realized (warning). Console line:

Warning: solve '<solve>' dispatches <periods> on investments it does not realize (<N> cases, e.g. '<name>') [W-0641]

The solve realizes the dispatch of the named periods (realized_periods) and decides their investments itself (invest_periods), but does not realize those investments: the periods are not in its realized_invest_periods (and no earlier solve realizes them). The reported dispatch of these periods ran on investments that are not reported as realized: the investment results and costs leave them out, and a later solve does not start from them.

How to fix: add the periods to the solve's realized_invest_periods to report the investments the dispatch used, or leave them out of its realized_periods if they are look-ahead only.

Start-up inputs

W-0206

Start-up input without startup_energy (warning). Console line:

Warning: start-up input has no startup_energy; start-ups draw nothing (<N> cases, e.g. '<name>') [W-0206]

The unit__inputNode arc has a startup_input_method that draws start-up energy, but no startup_energy (or only 0), so the start-ups take nothing from the node.

How to fix: give startup_energy, or set startup_input_method: just_input.

W-0207

Flow parameter on a startup_only arc (warning). Console line:

Warning: parameter has no effect on a startup_only arc (no flow) (<N> cases, e.g. '<name>') [W-0207]

A startup_only arc has no flow, so flow parameters on it have no effect. The debug log names them.

How to fix: remove them, or use startup_input_method: startup_and_input.

W-0208

Start-up node without balance or commodity (warning). Console line:

Warning: start-up node has no balance and no commodity; the draw is free (<N> cases, e.g. '<name>') [W-0208]

The start-up input's node is of type commodity but is not a node of a commodity, so the start-up energy is taken from nowhere and costs nothing.

How to fix: link the node to a commodity (commodity__node), or make it a balance node.

W-0209

Unit with only start-up inputs (warning). Console line:

Warning: unit has only startup_only inputs and no profile (<N> cases, e.g. '<name>') [W-0209]

Every input of the unit is startup_only and the unit has no profile, so its output costs only the start-up energy.

How to fix: give the unit an input with flow (just_input or startup_and_input), or a profile.

W-0210

Part-load curve without an input (warning). Console line:

Warning: part-load curve has no input: every input is startup_only (<N> cases, e.g. '<name>') [W-0210]

The unit is min_load_efficiency or piecewise_linear, but every input is startup_only, so its part-load section (or curve) has no input to draw from.

How to fix: give the unit an input with flow (just_input or startup_and_input).

W-0211

Start-up input outside the arc's constraints and flowGroups (warning). Console line:

Warning: start-up input is not in the arc's constraint or flowGroup (<N> cases, e.g. '<name>') [W-0211]

The arc is startup_and_input and has a constraint_flow_coeff or is in a flowGroup. Those count only the flow of the arc, not the start-up input. The debug log names the constraints and flowGroups.

How to fix: nothing if that is what you mean; otherwise model the start-up draw on its own arc.

Storage

W-0532

Rolling solve: bind_within_timeblock as bind_within_period (note). Console line:

Note: rolling '<solve>': bind_within_timeblock used as bind_within_period (<N> cases, e.g. '<name>') [W-0532]

In a rolling solve each period is one continuous timeblock, so the storage nodes with storage_binding_method bind_within_timeblock use bind_within_period in this solve.

How to fix: nothing; set bind_within_period on the nodes to say it explicitly.

W-0533

Rolls start inside a period (note). Console line:

Note: rolls of '<solve>' start inside a period; storage carries on (<N> cases, e.g. '<name>') [W-0533]

The rolls of the rolling solve start inside a period. Storage nodes with bind_within_period (also bind_within_timeblock) or bind_intraperiod_blocks continue that period from the level the previous roll realised; a roll ends its part at least at that level, and the roll(s) holding the period's end end it at the level it started from.

How to fix: nothing; this is how a rolling solve binds storage within a period.

W-0534

Storage start energy can be used up (an endowment) (warning). Console line:

Warning: storage ends free in '<solve>'; its storage_state_start energy is usable (<N> cases, e.g. '<name>') [W-0534]

The storage nodes start the solve at storage_state_start on capacity the solve cannot change (existing capacity, no investment or life extension in the start period) and chain forward to a free end: bind_forward_only, no fix_end, no use_reference_value and no end fixed by an upper-level solve. The run may then use this start energy without producing it. This is a valid model of an initial stock (an endowment). The warning is given in the first solve of each level (a start carried from an earlier solve is not an endowment). The debug log gives the energy per node and in total (MWh, on the existing capacity before any retirement in the solve).

How to fix: nothing, if the initial stock is meant. If the storage should return it, use storage_start_end_method fix_start_end, a cyclic storage_binding_method or storage_solve_horizon_method use_reference_value.

W-0535

Start of investable storage not matched at the end (warning). Console line:

Warning: storage start on investable capacity not matched at the end in '<solve>' (<N> cases, e.g. '<name>') [W-0535]

The storage nodes start the solve at a level the solve decides by investing: storage_state_start (or the reference value of use_reference_value) on capacity the solve can build or extend in the start period, and chain forward. The matching end (the end held at least at the start) needs both ends in one solve, and this solve does not hold the last step of the model, so it is not applied: built storage can deliver its start energy without producing it. A free start (fix_nothing) is not warned about: the later solve that reaches the end of the model matches it.

How to fix: use storage_binding_method bind_within_solve (or bind_within_solve_blended_weights), or storage_start_end_method fix_start_end with storage_state_end at least storage_state_start.

W-0536

Start differs from the reference value (warning). Console line:

Warning: storage_state_start differs from the reference in '<solve>'; start used (<N> cases, e.g. '<name>') [W-0536]

The storage nodes have storage_solve_horizon_method use_reference_value and a storage_start_end_method that fixes the start (fix_start or fix_start_end), and their storage_state_start differs from storage_state_reference_value at their first step. The start uses storage_state_start. (A node that does not fix its start starts from the reference value.) The debug log gives both values per node.

How to fix: give storage_state_start the reference value of the first step, or set storage_start_end_method to fix_nothing (or fix_end) so that the start follows the reference value.

W-0537

Storage balance slack bypasses a hard balance (warning). Console line:

Warning: storage slack in solve '<solve>' can bypass a linked hard balance (<N> cases, e.g. '<name>') [W-0537]

The storage nodes have balance slack (penalty_method not off) and a unit or a connection links them to node(s) with penalty_method off. The storage slack can supply or absorb energy for those nodes and so bypass their hard balance at the storage node's penalty, which can be far below what an unmet demand there should cost. Only pure storage nodes (no own inflow or demand, e.g. a battery) are named: the slack of a node with its own demand is the intended outlet of that demand. The debug log gives the linked nodes of each storage node.

How to fix: if the balance should hold, set penalty_method off on the storage node too (or give it a high penalty), so that a shortfall shows where it arises.

W-0538

Reference value below the start of investable storage (warning). Console line:

Warning: reference end below the start in '<solve>'; caps storage investment (<N> cases, e.g. '<name>') [W-0538]

The storage nodes have storage_solve_horizon_method use_reference_value, their reference value at the end lies below their start, and the solve can invest in their storage in the period they start in. As for fix_start_end, the matching end stays (the end at least at the start), so storage built must still return its start energy, which caps that investment.

How to fix: give storage_state_reference_value at least the start if the storage should be built freely.

W-0539

Plain storage cycle on representative periods (warning). Console line:

Warning: storage in '<solve>' cycles over representative periods unweighted (<N> cases, e.g. '<name>') [W-0539]

The solve is on representative periods (its timesets have representative_period_weights), and the storage nodes use a storage_binding_method (bind_within_solve, bind_within_period or bind_intraperiod_blocks) that moves the storage level from one representative period to the next without their weights, while the flows of each step count with the weight of its period. This is reasonable when the representative periods have equal weights or when the timing of the storage's inflows does not matter (e.g. pumped hydro, large heat storage). Nodes with storage_start_end_method fix_start_end are not named (their binding method is not used). The debug log gives the timesets and the method of each node.

How to fix: if the weights matter, use the *_blended_weights method, which weights the transfer: bind_within_solve -> bind_within_solve_blended_weights, bind_within_period and bind_intraperiod_blocks -> bind_within_period_blended_weights.

W-0580

Rolling solve: start level of an instance not known (warning). Console line:

Warning: rolling '<solve>': instance start unknown; storage closes at the carry (<N> cases, e.g. '<name>') [W-0580]

In a rolling solve, the storage nodes with bind_within_solve continue each roll from the level the previous roll realised, and the closing roll ends them at the level the instance (one run of the rolling solve within its upper-level solve) started from. That start level was not recorded for this instance, so the closing roll ends at the carried level instead: the storage does not return to its start over the instance. The debug log names the closing roll.

How to fix: usually nothing; report it with the debug log (--debug) if the storage balance over the instance matters.

W-0581

Nested rolling solve: no start level for the first roll (warning). Console line:

Warning: rolling '<solve>': no start for upper-fixed storage; first roll cycles (<N> cases, e.g. '<name>') [W-0581]

The storage nodes are fixed by the upper-level solve (a nested solve), but neither that solve gives them a start level for the first roll nor do they have storage_state_start with a storage_start_end_method that fixes the start. The first roll then cycles on itself: it ends at the level it starts from. The debug log names the roll.

How to fix: set storage_state_start and storage_start_end_method fix_start on the nodes, so the first roll starts from a known level.

W-0582

Rolling solve: start level of a period not known (warning). Console line:

Warning: rolling '<solve>': period start unknown; storage closes at the carry (<N> cases, e.g. '<name>') [W-0582]

The rolls of the rolling solve continue a period that an earlier roll started (storage nodes with bind_within_period, bind_within_timeblock or bind_intraperiod_blocks), but the level the node started the period at was not recorded. The roll continues the period from the carried level and closes it there, so the storage does not return to the period's start level. The debug log names the roll and the period.

How to fix: usually nothing; report it with the debug log (--debug) if the storage balance over the period matters.

W-0583

Nested solve: fix_start differs from the upper plan (warning). Console line:

Warning: storage fix_start in '<solve>' differs from the upper solve's level (<N> cases, e.g. '<name>') [W-0583]

The storage nodes are fixed by an upper-level solve (storage_nested_fix_method), and the lower solve starts them from their explicit start (storage_start_end_method fix_start or fix_start_end, at the start of the model) instead of the level the upper solve planned. After the solve, the two start levels differ: the storage capacity or the start share is not the same in the two solves. The difference is energy the lower solve gets or loses against the upper plan. The debug log gives both levels per node (MWh).

How to fix: check that the storage capacity at the start (existing and invested) is the same in the lower solve as in the upper-level solve.

Time series and period keys

W-0308

Time series on another scenario's timeline (warning). Console line:

Warning: time series of <parameter> on a timeline the scenario does not use (<N> cases, e.g. '<name>') [W-0308]

Every key of the value is a time step of a timeline that is not one of this scenario's (another alternative's timestep_duration), so the value is not used: plain data of another scenario. The debug log gives the alternative, the keys and the timeline.

How to fix: nothing if that is intended; otherwise include the timeline's alternative in the scenario, or re-key the value.

W-0309

Time-series keys that are not time steps (warning). Console line:

Warning: time keys of <parameter> are not on any timeline; not used (<N> cases, e.g. '<name>') [W-0309]

Some keys of the values are not time steps of any timeline of the scenario (hourly data on a 3 h timeline, another year's stamps, another letter case). The readers join a time series with the solve's time steps, so those values are dropped. The debug log gives the number of keys, the first of them and the timelines.

How to fix: re-key the values to the timeline's time steps.

W-0310

Profile period map without some periods (warning). Console line:

Warning: profile has no value for some solve periods; 0 there (<N> cases, e.g. '<name>') [W-0310]

The profile is a period map without a value for some periods of the solves that run, so the profile is 0 in those periods. The debug log names the periods.

How to fix: add the periods to the map, or give the profile a constant value.

W-0311

Map keys that are neither periods nor time steps (warning). Console line:

Warning: map keys are neither periods nor time steps; value not used (<N> cases, e.g. '<name>') [W-0311]

The map keys of the value look like time steps but are neither periods nor time steps of the model, so the value is not used. The debug log gives the alternative and the keys.

How to fix: key the map by period (p2020, ...) or by the time steps of a timeline.

W-0312

Map keys that are not periods (warning). Console line:

Warning: map keys are not periods of this scenario; values dropped (<N> cases, e.g. '<name>') [W-0312]

Keys of a period map are not periods. This is an error when the whole database is read; here only the scenario's periods were known, so it is a warning and the values with those keys are dropped. The debug log lists the values and the closest periods.

How to fix: rename the keys to periods of the model (or add the periods to model.periods_available).

Units and connections

W-0200

min_load_efficiency without efficiency_at_min_load (warning). Console line:

Warning: min_load_efficiency unit has no efficiency_at_min_load; flat curve (<N> cases, e.g. '<name>') [W-0200]

The unit has conversion_method: min_load_efficiency and a min_load above 0, but no efficiency_at_min_load. Its efficiency is used at minimum load too: a flat curve (fuel use is output / efficiency, as with constant_efficiency), while the minimum load still applies.

How to fix: give efficiency_at_min_load, or use constant_efficiency.

W-0201

piecewise_linear_efficiency not used (warning). Console line:

Warning: unit has piecewise_linear_efficiency but another conversion_method (<N> cases, e.g. '<name>') [W-0201]

The unit has a piecewise_linear_efficiency curve, but its conversion_method is not piecewise_linear, so the curve is not used. The debug log gives the method.

How to fix: set conversion_method: piecewise_linear, or remove the curve.

W-0202

Efficiency on a piecewise_linear unit (warning). Console line:

Warning: efficiency not used by a piecewise_linear unit (its curve gives it) (<N> cases, e.g. '<name>') [W-0202]

A piecewise_linear unit gets its efficiency from piecewise_linear_efficiency; its efficiency / efficiency_at_min_load are not used. The debug log names the parameters.

How to fix: remove them (or keep them for another alternative that uses another method).

W-0203

min_load below the first point of a rising piecewise curve (warning). Console line:

Warning: min_load is below the first point of the piecewise_linear curve (<N> cases, e.g. '<name>') [W-0203]

The unit's curve rises from its first point to the second (it burns fuel at zero output, so it gets online variables), and its min_load (none = 0) is below the first point of the curve. Between them the first segment is extended, so the unit can be online at zero output while burning fuel. The debug log gives the period, the efficiency at min_load and the fuel per MW online.

How to fix: raise min_load to the first point of the curve, or start the curve at min_load.

W-0204

piecewise_linear input that can burn above its curve (warning). Console line:

Warning: piecewise_linear input can be met by burning above the curve (<N> cases, e.g. '<name>') [W-0204]

A multi-line piecewise_linear unit's rows are "at least": the input is at least what the curve needs. Something on the input (an upward reserve, a flowGroup minimum, a profile or user constraint on the input, a ramp limit, inertia counted from the flow) or a negative price or co2_content of the input's commodity can make it worth burning more input than the curve needs. The case is named as (unit, input node); the debug log names the item. A post-solve check reports the time steps where it happened.

How to fix: move the item to the output where possible; check the post-solve warning.

W-0205

Fractional unit count with integer online variables (warning). Console line:

Warning: existing of a <cls> is not a whole number of units (integer online) (<N> cases, e.g. '<name>') [W-0205]

With virtual_unitsize set, existing is the number of units (capacity = existing × virtual_unitsize). The entity has integer online variables (startup_method integer or integer_fix_in_uc), which count whole units, so a count such as 2.5 cannot all be online. Results are otherwise unchanged. The debug log gives the counts and the unit size.

How to fix: give existing as a whole number of units, or change virtual_unitsize.

W-0212

input_share_max above 1 (warning). Console line:

Warning: input_share_max above 1 (same as 1) (<N> cases, e.g. '<name>') [W-0212]

input_share_max is a share of the unit's input; a value above 1 has the same effect as 1 (no limit). The case is named as (unit, input node).

How to fix: use a share between 0 and 1, or remove the value.

W-0213

input_share_min without effect (warning). Console line:

Warning: input_share_min has no effect on this input (<N> cases, e.g. '<name>') [W-0213]

input_share_min has no effect on an input with conversion_flow_coeff 0, nor on a unit with a single input (with a non-zero coefficient). The debug log says which. The case is named as (unit, input node).

How to fix: remove the value, or give the unit the inputs the share is meant for.

W-0214

capacity_min_coeff below 1 on an online unit (warning). Console line:

Warning: capacity_min_coeff no longer lowers the minimum load (<N> cases, e.g. '<name>') [W-0214]

The minimum load is once per unit on the sum of its outputs (min_load × online capacity) and carries no coefficient; capacity_min_coeff is an extra floor on one output. The unit's output coefficients are all below 1 (0 included), the old way to lower or switch off the minimum load.

How to fix: set min_load lower instead (min_load: 0 switches it off), or remove the coefficient.

W-0215

Per-output floors above the capacity (warning). Console line:

Warning: per-output floors may stop the online unit from running (<N> cases, e.g. '<name>') [W-0215]

The per-output floors of the multi-output unit (capacity_min_coeff × min_load) sum above 1, or exceed an output's capacity_max_coeff, so the unit may be unable to run while online. Only static values are checked. The debug log gives the details.

How to fix: lower the capacity_min_coeff values or min_load.

W-0216

Unit whose outputs all have conversion_flow_coeff 0 (warning). Console line:

Warning: unit uses no input: all its outputs have conversion_flow_coeff 0 (<N> cases, e.g. '<name>') [W-0216]

Every output of the unit has conversion_flow_coeff 0, so the unit uses no input and the untied outputs are free, up to max_flow_for_unconstrained_variables. The debug log names the free outputs.

How to fix: give an output a non-zero conversion_flow_coeff, or tie the flow with a user constraint.

W-0217

Unlimited flow with conversion_flow_coeff 0 (warning). Console line:

Warning: unit <side> with conversion_flow_coeff 0 has nothing to limit its flow (<N> cases, e.g. '<name>') [W-0217]

An arc with conversion_flow_coeff 0 is out of the conversion equation and of every capacity, ramp and minimum-load limit. No user constraint (constraint_flow_coeff), flowGroup maximum or profile limit ties it, so an input can take any amount from its node for free (a dump load), or an output can put any amount into its node for free (a free source), up to max_flow_for_unconstrained_variables. A flowGroup min_instant_flow / min_cumulative_flow bounds it only from below. The case is named as (unit, node).

How to fix: tie the flow with a user constraint, or give it a non-zero conversion_flow_coeff.

W-0218

Capacity coefficient on an output with conversion_flow_coeff 0 (warning). Console line:

Warning: capacity coefficient has no effect on a zero-coefficient output (<N> cases, e.g. '<name>') [W-0218]

capacity_max_coeff / capacity_min_coeff on an output with conversion_flow_coeff 0 have no effect: the flow is outside the capacity limits. The debug log names the parameter.

How to fix: remove the coefficient, or give the output a non-zero conversion_flow_coeff.

W-0219

Connection without its nodes (warning). Console line:

Warning: connection has no connection__node__node in the scenario; left out (<N> cases, e.g. '<name>') [W-0219]

The connection has no connection__node__node in this scenario: it was never linked to its nodes, or one of its nodes is not in the scenario. It transfers nothing; an invest_method still gives it an investment variable that is always 0.

How to fix: add the connection__node__node entity, or include both nodes in the scenario (or leave the connection out).

W-0220

Connection delay (warning). Console line:

Warning: connection delay is not implemented; ignored (<N> cases, e.g. '<name>') [W-0220]

A connection delay is not implemented: the connection is modelled without a delay.

How to fix: use a unit with a delay for a delayed flow, or remove the delay.

W-0227

No process method (warning). Console line:

Warning: process has no process method for its settings; left out (<N> cases, e.g. '<name>') [W-0227]

The combination of the process's conversion, start-up and fork methods has no process method, so the process is left out. This should not happen with valid data; the debug log gives the combination.

How to fix: check the process's conversion_method and startup_method, and report the case.

W-0228

Process method not applicable (warning). Console line:

Warning: process method resolves to not_applicable (<N> cases, e.g. '<name>') [W-0228]

The combination of the process's conversion, start-up and fork methods is not applicable. The debug log gives the combination.

How to fix: check the process's conversion_method and startup_method.

W-0229

startup_method set to linear for a minimum time (note). Console line:

Note: startup_method set to linear: minimum_time_method needs it (<N> cases, e.g. '<name>') [W-0229]

The process has a minimum_time_method (min_uptime, min_downtime or both), which needs online variables, and startup_method: no_startup; it is run with startup_method: linear.

How to fix: nothing; set startup_method yourself to choose another member (integer for whole units, a _fix_in_uc member to keep the stochastic solve's units online in a separate realization).

W-0230

startup_method set to linear for a rising piecewise curve (note). Console line:

Note: startup_method set to linear: piecewise curve burns fuel at zero output (<N> cases, e.g. '<name>') [W-0230]

The unit's piecewise_linear_efficiency curve burns fuel at zero output (its efficiency rises from the first point to the second), which needs online variables, so the unit is run with startup_method: linear. The debug log gives the points.

How to fix: nothing; set startup_method yourself to choose another member (integer for whole units, a _fix_in_uc member to keep the stochastic solve's units online in a separate realization).

W-0231

Minimum time without its minimum_time_method (warning). Console line:

Warning: min_uptime / min_downtime not in minimum_time_method; ignored (<N> cases, e.g. '<name>') [W-0231]

The unit has a min_uptime or min_downtime above 0, but its minimum_time_method (none when not set) does not include that time, so the time is not applied: there is no minimum up or down time constraint for it. A unit without online variables has no such constraint in any case. An explicit minimum_time_method: none switches the times off on purpose and gives no warning. The debug log and the run log give the time and the method of each unit. When the database upgrade could not decide the method of a unit, they also give the reason. When the value list minimum_time_methods has no min_uptime, an old database upgrade overwrote it, and values that were min_uptime now read none.

How to fix: set minimum_time_method to both, min_uptime or min_downtime, or remove the time.

Units of measure

W-0105

Group of nodes in different units of measure (warning). Console line:

Warning: group's member nodes have different units of measure (<N> cases, e.g. '<name>') [W-0105]

The member nodes of the group have different unit_of_measure values, so the group's sums are labelled Mixed units of measure!. unit_of_measure is a label only: FlexTool converts nothing. The debug log lists the nodes by unit.

How to fix: keep nodes of one quantity in a group, or accept the mixed label.

W-0106

Power group feature on nodes that are not in MWh (warning). Console line:

Warning: group with MW features has member nodes not in MWh (<N> cases, e.g. '<name>') [W-0106]

The group has reserves, inertia, a non-synchronous limit or a capacity margin. These features are in MW (inertia in MW·s) and assume power nodes, but some member nodes have a unit_of_measure that is not MWh (or MWh_<suffix>). The debug log names the features and the nodes.

How to fix: leave the non-power nodes out of the group, or check their unit_of_measure.

W-0107

Group capacity limit over members in different units (warning). Console line:

Warning: group capacity limit sums members in different units (<N> cases, e.g. '<name>') [W-0107]

The group has an invest_*, retire_* or cumulative_* capacity limit, and its members' capacities are in different units, so the limit adds them up as one number. The debug log lists the members by unit.

How to fix: split the group so that each limit covers members of one unit.

W-0108

flowGroup of flows in different units of measure (warning). Console line:

Warning: flowGroup's flows are at nodes with different units of measure (<N> cases, e.g. '<name>') [W-0108]

The flows of the flowGroup are at nodes with different unit_of_measure values, so its sums are labelled Mixed units of measure!. The debug log lists the nodes by unit.

How to fix: keep flows of one quantity in a flowGroup, or accept the mixed label.

W-0221

Connection between nodes in different units of measure (warning). Console line:

Warning: connection joins nodes with different units of measure (<N> cases, e.g. '<name>') [W-0221]

The two nodes of the connection have different unit_of_measure values. Its flow, losses and capacity are labelled Mixed units of measure!; a connection moves one quantity. The debug log lists the nodes by unit.

How to fix: check that this is intended (a unit converts between quantities).

W-0305

unit_of_measure that names a rate (warning). Console line:

Warning: node's unit_of_measure looks like a rate, not an amount (<N> cases, e.g. '<name>') [W-0305]

unit_of_measure is the amount unit (m3, MWh), not the rate (m3/h, MW); with a rate the flows would be labelled wrong. The debug log suggests the amount unit.

How to fix: set the amount unit (e.g. m3 for m3/h).

W-0401

Commodity of nodes in different units of measure (warning). Console line:

Warning: commodity is used by nodes with different units of measure (<N> cases, e.g. '<name>') [W-0401]

The commodity__node nodes of the commodity have different unit_of_measure values. Its price and co2_content are per the unit of each node, so one value cannot fit them all. The debug log lists the nodes by unit.

How to fix: use one commodity per unit of measure.

User constraints

W-0004

User constraint without variables in a solve (warning). Console line:

Warning: user constraint has no variable in solve '<solve>'; left out (<N> cases, e.g. '<name>') [W-0004]

Every coefficient of the user constraint refers to something the solve does not have (for example the invested capacity of a unit that cannot invest in this solve, or a flow outside the solve's periods), so each of its rows reads constant sense constant. Those rows always hold, so the constraint is left out of the solve. (Rows that cannot hold, such as 0 >= 600, stop the run with an error instead.) Each constraint is named once per run; the debug log gives the rows per period.

How to fix: usually nothing: the constraint is meant for other solves. If it should bind in this solve, give it a coefficient on something the solve has (check the entities' invest_method, the solve's periods and the constraint's sense / constant).

Warm start and memory

W-0550

Warm-start basis not used (warning). Console line:

Warning: warm-start basis not <step> for solve '<solve>'; <effect> (<N> cases, e.g. '<name>') [W-0550]

The run has warm start on (--warm-start / FLEXTOOL_WARM_START=1), and FlexTool could not use the cached HiGHS basis of the solve: either loading the basis into the solve failed (not loaded: the solve ran from scratch) or saving the basis of the finished solve failed (not saved: a later solve of the same model, in this run or a later one sharing the basis cache, starts without it). The results are not affected; only the solve time can be longer. The rolls of a rolling solve share one line; the debug log has the error of each.

How to fix: usually nothing. If it happens in every run, check that the basis cache folder (--basis-cache-dir, by default <work folder>/basis_cache) is writable and its files are not damaged (deleting the folder is safe), and report it with the debug log (--debug).

W-0551

Save-memory mode (note). Console line:

Note: save-memory mode: every solve is rebuilt and solved by HiGHS in a separate process (<N> cases, e.g. '<name>') [W-0551]

The run has --save-memory / FLEXTOOL_SAVE_MEMORY=1 on. Each solve then builds its LP from scratch, writes it to an MPS file and lets HiGHS solve it in a separate process, so the memory HiGHS needs while solving is not added to this process's memory. An LP is not reused between solves (warm reuse is off), and each solve takes some tens of seconds more for the file I/O. The note is printed once per run.

How to fix: nothing, if the mode was meant (for models that run out of memory otherwise). For faster solves when memory is enough, run without --save-memory and unset FLEXTOOL_SAVE_MEMORY.

W-0552

No warm start for this solver (note). Console line:

Note: warm start is not available for solver '<solver>'; every solve is built from scratch (<N> cases, e.g. '<name>') [W-0552]

Reusing the LP of an earlier solve (and the warm-start basis cache) works with HiGHS only. With another solver every solve builds its LP from scratch, so a run with many solves (for example the rolls of a rolling solve) takes longer than with HiGHS. The results are not affected. The note is printed once per run.

How to fix: nothing, if the solver was meant. For warm reuse, use HiGHS (the solve's solver).

W-0553

Warm reuse off (note). Console line:

Note: warm reuse is off (warm=False); HiGHS solves run in a separate process (<N> cases, e.g. '<name>') [W-0553]

The run was started with warm=False (run_chain_from_db / run_orchestration used from Python), so no LP is reused between solves. Each HiGHS solve then builds its LP from scratch, writes it to an MPS file and is solved by HiGHS in a separate process (as in save-memory mode), which keeps the memory of this process low. Each solve takes some tens of seconds more for the file I/O. The results are not affected. The note is printed once per run.

How to fix: nothing, if it was meant. For faster solves, leave warm at its default (True).