Hi @Asi angel,
You mentioned, “When I run the simulation without the transformer block, everything works fine. However, when I add the transformer to the network, the waves become rectangular, and I receive the following error message: "Warning: Could not evaluate MaskDisplay commands of block IEEE34bus_v2019b_Discrete_ZIPload/Three-Phase Transformer (Two Windings)1': Unable to resolve the name ST.satx."The model involves connecting the transformer to a three-phase load with a constant current of 150 kW and 75 kVAR. How can I resolve this issue?”
Please see my response to your comments below.
The issue seems to arise from the transformer block's inability to resolve certain parameters or variables, specifically the variable ST.satx which indicates that the variable is either undefined in the workspace or not properly initialized. The rectangular waveforms suggest that the transformer is not functioning correctly, likely due to the improper handling of the input signals or parameters.
To resolve this issue, follow these steps:
Step#1 ,Check Variable Definition:
Make sure that the variable ST.satx is defined in the MATLAB workspace. You can do this by executing the following command in the MATLAB Command Window:
evalin('base', 'ST.satx');
For more information on “evalin” function, please refer to
https://www.mathworks.com/help/matlab/ref/evalin.html
If it returns an error, you need to define it appropriately.
Step#2,Initialize the Variable:
If ST.satx is not defined, you can initialize it in your MATLAB script or directly in the workspace. For example:
ST.satx = <appropriate_value>; % Replace <appropriate_value> with the correct value for your model
Step#3, Review Transformer Parameters:
Double-check the parameters of the transformer block to ensure they are set correctly. Pay special attention to the winding ratios and any other settings that might affect its operation.
Step#4, Simulate Again:
After making the necessary adjustments, run the simulation again to verify that the issue has been resolved.
I would also suggest running your Simulink model in new version because sometimes the old version have some bugs which gets fixed in newer version.
Hope this helps.