Problem with the Transformer model in matlab simulink

18 views (last 30 days)
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?
  7 Comments
Umar
Umar on 15 Sep 2024

Hi @Asi angel,

You asked, “What do you think is the best solution for this issue? moreover, when I tried adding the power flow buses to the distribution network, I encountered the following error: 'Warning: Matrix is close to singular or badly scaled. Results may be inaccurate. RCOND = 1.218374e-17.'"

Please see my response to your comments below.

My analysis for the errors you encountered in your Simulink model are listed below.

Please bear in mind that a matrix is singular when it does not have an inverse, which typically occurs when its determinant is zero. In practical terms, this means that the equations represented by the matrix are linearly dependent,some equations do not provide new information. So, in my opinion the causes of the error are due to

Poor Scaling: This can happen when there are large disparities in the magnitudes of the elements in the matrix. For example, if some values are very large while others are very small, numerical methods may struggle to find accurate solutions.

Modeling Issues: If the distribution network is incorrectly modeled (e.g., missing connections or incorrect parameters), it could lead to a situation where the system is not fully defined, contributing to singularity.

Insufficient Data: If there are not enough buses or branches defined in your network model, it might not be possible to solve for all variables.

So, based on the above mentioned causes of error, I will propose the following solutions to help you resolve your problem.

Check Model Configuration: Make sure that all buses and branches in your distribution network are correctly defined and connected. Also, review the parameters of each component (e.g., resistances, reactances) to ensure they are realistic and correctly specified.

Scaling Adjustments: Normalize values within your model if there is a wide range of magnitudes. For example, consider using per-unit (pu) systems for more consistent scaling across components.

Matrix Conditioning: Use techniques such as regularization to improve matrix conditioning. This involves adding a small value to the diagonal elements of your matrix to prevent singularity. You can also apply numerical techniques such as pivoting or iterative solvers that are more robust against poorly conditioned matrices.

Simulink Diagnostics: Utilize built-in diagnostics within Simulink to identify potential issues with your model configuration. Tools like Model Advisor can help spot common pitfalls. Please click the link below for more information regarding “Model Advisor”.

https://www.mathworks.com/help/simulink/ug/select-and-run-model-advisor-checks.html

Examine simulation settings and solver options; sometimes adjusting these can alleviate numerical problems. Also, before scaling up your model, test it with a simplified version that has fewer components but maintains similar characteristics. This can help isolate the source of errors.

Hope this helps.

Shivam Gothi
Shivam Gothi on 16 Sep 2024
Hello @Asi angel,
can you please shared the simulink model file along with the parameters necessary to initialise in base workspace so that I can reproduce the error from my end and suggest some solution?
I also faced similiar issue, but I managed to get some workaround by correcting power system network.

Sign in to comment.

Answers (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!