I am using a Three Phase Transformer (Two Windings) from the Simscape - Electrical - Specialized Power Systems - Fundamental Blocks - Elements library.
Under the configuration tab, I have selected Yn:Yn implemented as three single-phase transfomers. I have selected to simulate saturation. Under the Advanced tab, you are allowed to either check "Break algebraic loop" or to leave unchecked and select the "Discrete solver model".
- With the default setings where "Break Algebraic loop in discrete saturation model" is unchecked and the "Discrete solver model" is set to "Trapezoidal Iterative", I can apply these settings, close the dialog box and compile the model without any problems.
- I can also check the "Break Algebraic loop in discrete saturation model", apply settings and compile the model without any problems.
- However, if I try to uncheck "Break Algebraic loop in discrete saturation model" and set the "Discrete solver model" to "Backward Euler robust, and at least the first time I can apply the settings and close the dialog box. However, when I then go to compile the model I get the following Simulink warnings:
"Failed to find 'sps3phSaturableTransformerModel/Discrete_DSS' in library 'sps3phSaturableTransformerModel' referenced by ......
"Incorrect to comment or uncomment " [referencing block name] " : during callback execution."
"Error in ' [ referencing block name ] ' : Initializing commands cannot be evaluated."
- Next time I open the transformer block, when I try to apply settings I get the following message:
"Error in " [ referencing block name ] ' : Initialization commands cannot be evaluated. Caused by: Reference block does not have a parameter named 'Variant'"