Releases: pywr-editor/editor
Releases · pywr-editor/editor
v2.1
v2.1 - 2024-02-18
Fixed
- Disable action buttons (move and delete) after adding a new control curve. This prevents the editor from
crashing when no item is selected in the widget (#202) - If the model has changes and is reloaded, two save prompts used to be displayed (#212)
- When user clicks on a searched item in the global search, no action is triggered (#214)
- Scroll with the mouse wheel was too slow in the panel used to add new nodes and shapes (#216)
Changed
- Updated dependencies (#197)
- The list of model parameters are now alphabetically sorted in the UI dropdown menus (#205)
- To improve user experience dialogs are automatically closed after a form is saved (#208)
Added
- Added ability to clone a node from the schematic. By right-clicking on a node and pressing "Clone" the node and
its model is configuration are cloned. The new node is assigned a random name (#205) - Updated support for pywr to 1.23. The
loss_factor
inLossLink
can now be provided as a parameter (#210) - Users can now double click on a schematic item (node or shape) to edit it (#214)
- When selecting a named parameter or recorder from a dropdown, display its configuration in a tooltip (#220)
- Double click on a model component (recorder or parameter) to edit it in a list or table widget (#222)
- Listen for changes to the JSON file made externally (for example using a text editor). If there are any, the
editor will be reloaded to include the new changes (#224)
v2.0.3
v2.0.3 - 2023-08-19
Fixed
- Negative costs could not be input for a
ControlCurvePiecewiseInterpolatedParameter
(#191) - Allow floats in the RBF bounds in the optimisation section (#193)
- When pywr is running and the inspector tree is open, the editor crashed due to a wrong function signature (#195)
Changed
- Distributed application will now contain
pywr-1.21.0
andQt-6.5.2
(#197)
v2.0.2
v2.0.1
2.0.0
v2.0.0 - 2023-05-29
Added
- Pywr is now bundled with the editor, and you can run and debug your model using the new Toolbar
Run
tab. You can also change the start, end date, timestep as well as run and pause the model to a specific date (#122)
Changed
- The code of some classes have been improved (PR #176, PR #177, PR #181)
- Qt 6.5 is now required (PR #175)
- The editor is not distributed with Python 3.11
Fixed
- When values in
ControlCurvePiecewiseInterpolatedParameter
were provided as nested lists, the values were not transposed and were assigned to the wrong control curve. The parameter form now also shows a new column in the control curve and value fields to easily map and assign the values to each area defined by the control curves (#173). - If one or more nodes did not have the
position
attribute, the editor showed a warning message every time the schematic was reloaded. The message is now shown only when the schematic is first initialised. (#178).
1.6.0
v1.6.0 - 2023-04-02
Added
- Added support to multi-line comments (#146).
- Add icons to contextual menu actions and fixed menu style on right-click menu on form inputs (#159).
- Added node icons in contextual menu. When you right-click on a node to change an edge, the contextual menu now shows the node icons to easily identify the node to connect or disconnect (#166).
Changed
- The window title now shows the model name first (#170).
- Open the start screen when user click on the "Open model file" button in the toolbar (#153).
- The message box, after a validation tool is run, displays a different icon if the model validation is successful (#155).
- The fields to select multiple nodes and parameters are now disabled if there are no nodes or parameters in the model (#163).
Fixed
1.5.1
v1.5.1 - 2023-03-29
Added
- A new reload button was added to the toolbar to reload the JSON file in case it was externally edited (#148).
- Added comment field in the form of RBF parameter (#126).
Changed
- The width of form widgets handling float numbers have been shrank. Some fields also now restrict the value to a
specific range (for exinitial_volume_pc
is now constrained between 0 and 1) (#144). - When cloning a recorder or parameter, the latest saved configuration is now used (#138).
- Integers are now allowed in the upper and lower bounds of a RBF parameter. Previously only a list of integers was allowed (#136).
- Increased the minimum width of the parameter dialog to hide the horizontal scrollbar in the scrollable area of the form. Some forms are too large to properly fit into the child widget. (#127).
Fixed
- When a parameter or recorder, sharing the same name of a node, was renamed, the node name was being replaced in
theedges
as well (#142). - To prevent duplicated entries, the paths in the recent projects are now normalised (#140).
- Fixed appearance of ComboBox icon with tables. The icon appeared too large on some screens (#134).
- Fixed validation of custom parameters when user attempted to add a table in the dictionary (#132).
- Fixed validation of RBF parameter when the day field is empty or invalid. The form used to throw a
TypeError
exception (#128).
1.5.0
v1.5 - 2023-03-27
Added
- The configuration of a selected recorder or parameter can now be copied as a new recorder or parameter by using the
"Clone" button in the dialogs (#115). - New icons (QtAwesome) have been added to all buttons to improve design and UI accessibility
(#117). - Tables in the tree widget now display an icon depending on the table type (#119).
- A new search functionality was added. Users can now search and quickly edit nodes, parameters, tables and recorders
by clicking on the "Search" button in the toolbar or pressingCTRL+F
(#123).
1.4.3
v1.4.3 - 2023-03-25
Changed
- Parameter, recorder, scenarios and tables are now sorted by name in the setting dialogs
The components can now be easily identified in the left-hand side widget in the modal dialogs.
(#107). - Improve description of threshold parameters (#109).
- Colour contrasts and some layouts have been changed to improve accessibility.
Tables also display an icon next to their names to identify the file extension
(#111).
Fixed
- Fixed the form attribute name identifying the storage node in
MinimumVolumeStorageRecorder
. The recorder usesnode
instead ofstorage
(#105).
1.4.2
v1.4.2 - 2023-03-20
Changed
- Recent projects in the start screen are now sorted by date (#89).
- Node names are now sorted alphabetically in any drop-down menus (#90).
- The
mrf
,mrf_cost
andcost
attributes of aRiverGauge
node are now optional
(#94). - Some component types (nodes and recorders) were not detected correctly in tree widget
(#100). - Improved release of Windows binary files using GitHub Actions
(#102).