# Changelog
All notable changes to this project will be documented in this file.

The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).

## Unreleased

- !139 Add utility for writing tcv references to a file
- !133 Add default bzramp for breakdown of `Ip>0` scenarios
- !135 Fix bug when restoring default shot preparation sequence
- !134 Fix race condition for MGAMS preference file in CI pipelines
- !125 Fix race conditions linked to MDSplus trees
- !116 mga - Forbid combination of ierat=-1 and inova=4

## [1.1.9] 2023-08-28

- !115 `tcv_recipe` - Backoff typo fix

## [1.1.8] 2023-08-23

- !114 `tcv_recipe` - correct order of setting toroidal field sign and calculating observers in stray

## [1.1.7] 2023-08-10

- !113 `tcv_recipe` - Removed selection handling of non-existent acquisition modules

## [1.1.6] 2023-04-28

- !112 `tcv_recipe` - Move rectifier control to new OPCUA mode; allow operation with test transformer

## [1.1.5] 2023-03-28

- !111 mgams - added Garance Durr-Legoupil-Nicoud to Mgams users

## [1.1.4] 2023-01-10

## [1.1.3] 2023-01-10

- !110 mgams - added Marchioni to Mgams users

## [1.1.2] 2022-12-19

- !109 fbte18 - Fix bug with missing Ip reference for ierat=-1 

## [1.1.1] 2022-11-17

- !106 mga - Ensure Gmx has 10 matrices also for doublet + add README.md

## [1.1.0] 2022-11-07

- !104 mgp - Distinct methods struct and `struct_with_debug`
- !103 Generalize providing of additional parameters
- !102 mga - Refactor static data definition

## [1.0.94] - 2022-10-28

- !100 Separate test jobs 
- !99 Bugfix following changes of expressions in `\PCS::LOAD_WAVE_GEN_%` nodes

## [1.0.93] - 2022-10-19

- !95 Continue integration of breakdown experiments

## [1.0.92] - 2022-10-14

- !96 Added 2 new MGAMS users
- !90 Cleanup of `tcv_recipe` and some `mga_golden_shots` updates
- !94 Sanitize MGA inputs and outputs
- !92 Improve handling of cases where numeq<nruns
- !89 Fix sign of TF compensation in observers for backoff shots

## [1.0.91] - 2022-09-14

- !92 Implemented new readback channels for Imperix parameters
- !77 Update for new ECHCS (cont'd)

## [1.0.90] - 2022-09-05

- !91 Modifications due to coexistence of new (Imperix) and old rectifier controllers

## [1.0.87] - 2022-07-11

- !88 Update golden shots after static tree update
- !81 Select only standard poloidal array of magnetic probes
- !85 Perform breakdown current calculation in double precision
- !86 Use golden shot approach for mga.m vs mga.f tests
- !84 Improve numerical conditioning for F. Hofmann doublet observers 
- !83 Adapt to new gitlab-ci template version 
- !82 Introduce testing of mga results vs previous results
- !80 Run MGA.F vs MGA.m tests more frequently
- !77 Update for new ECHCS (cont'd)

## [1.0.86] - 2022-06-09

- !77 Update for new ECHCS
- !76 Fix pcssignbit, improve pcsmatoverflow error message
- !75 minor tweak to avoid A3 matrix overflow in some scenarios
- !74 Simplify copy/paste of gas BD
- !73 one more change necessary to deal with empty traces (typically gas traces)
- !72 fix silly mistake in number of arguments
- !71 Refactor threshold computation
- !70 removed unnecessary time-base realignment in EC/NBI threshold signals, causing...
- !69 corrected trivial bug (omission) in recipe; enabled tcv_root right to write to model
- !68 set DML acquisition timers
- !67 Start BT ramp-up 0.25 s earlier (IdJ request)
- !66 Fix build on spc-ci machine
- !65 Merge last 2 releases
- !64 Implement link between L10 or L11 selection and X3U selection (minor initial upgrade for L10 and L11)
- !63 twin modification to Mgams to reflect modification in pos_corr.m (pdj-tools)...
- !62 Deal with empty gas traces to enable Mgams save
- !61 Always update color of time labels.
- !60 permanently activate acquisition modules that do not depend on DJ choices (for now)
- !59 adjustable minimum current
- !58 Load standard shot if errors happen while executing full no plasma recipe.
- !57 CNPA filter actions removed from recipe (CNPA no longer related to NBH)
- !56 Move .m vs .f comparison to slow tests, for scheduled pipelines only
- !55 Replaced THOM by RTHOM in D-Tacq acquisition
- !54 enabled PCS acquisition for all recipes
- !53 NBI density thresholds not programmed when NBI not used in TCV
- !52 Avoid changing current figure in wgame
- !51 Bugfix/hittest
- !50 Feature/tests improvements
- !49 Attempts at improving responsiveness of MGAMS window to mouse clicks
- !48 Various mgams improvements
- !47 Update/nbi2
- !46 reinstated timing_setup in its rightful place
- !45 Update/ecrh magnetics chep 2109
- !44 Better handle FBTE failures and errors.
- !43 Magnetics acquisition rate is now fixed and immutable
- !42 Draft: Add tooltips to modal block controls
- !41 Explicitly open shot on tcvdata.epfl.ch in mgc.m
- !40 changes in D-tacq names in NW and SW islands
- !39 Feature/debug eval
- !38 Feature/debug nodes
- !37 Adapt for new FBTE-MATLAB call.
- !36 bugs corrected for old X3 (never used before) plus temporary fixes to make lateral X3 work
- !35 corrected node name
- !34 disabled verify action for long-acquisition-time accelerometers
- !32 added 4 new users for private shot ranges
- !29 Resolve "tcv_recipe: zero-out all gas traces for valves > 1 for technical shots"
- !28 Re add tor
- !27 hotfix for wave_compress (sorry)
- !26 2020 restart improvements
- !25 Va include vessel - part 3
- !24 Va include vessel - part 2
- !23 Va include vessel - part 1
- !22 WIP: mga-fortran translation
- !21 Fix for matlab850: default server.
- !20 Bugfix/various bugs
- !19 propagate toroidal field sign from stray into Mgams for observer consistency
- !15 Resolve "Include optimal vertical control coil direction in shot preparation"
- !15 Feature/gituser tests
- !14 Feature/mgacmp tests
- !13 add inores (via iscramb encoding) to remove R
- !11 Voltage strays
- !10 Half-analytic improvements
- !9 2020 restart improvements
- !8 Throw error if pcsconfig is invalid
- !7 Various fixes to avoid conflicts when preparing shots
- !6 2020 restart improvements
- !5 Added FRP D-tacq module to mdsprepare
- !4 Small bugs fixed
- !3 Updating FPS trace in stray; zeroing physical G matrices in stray; adding new...
- !2 Add Matlab 8.3 compatibility
- !1 Cleanup, setup tests and deployment
