MATLAB: Three-Phase Transformer ‘Specify initial fluxes’ setting is not working

fluxinitialmaskparameterphasepowerpowersystemsr2019aSimscapeSimscape Electricalsystemsthreevalueswinding

In R2019a the following option is not working properly using the Three-Phase Transformer (Two Windings):
"Specify initial fluxes
If selected, the initial fluxes are defined by the Initial fluxes parameter on the Parameters tab. The Specify initial fluxes parameter is visible only if the Simulate saturation parameter is selected. Default is cleared."
The Initial Flux values are not shown in the parameters tab.

Best Answer

This is a bug in R2019a. To set the Initial flux in R2019a, follow the workaround below.
Please follow the workflow mentioned in the documentation.
After that, please use the following code, to set the initial flux parameter:
set_param(gcb,'InitialFluxes','[0.8 -0.6 0.4]')