How to Simulate Transformer Using T-model reference to primary and Controlled-Sources ?

3 views (last 30 days)
I am using a Linear Transfomer for my model with specific input/output voltage. As in the model file. I want to use the T-model with controlled sources to have same results as I have for Linear Transfomer Model provided by Simlunk Library. The reason behind using voltage and current controlled sources are to connect the T-model between to another electronic circuits.

Answers (1)

Riya
Riya on 17 Dec 2023
Hello Willim,
As per my understanding, you want to know how to simulate transformer using T-model reference to primary and Controlled-Sources.
Please note that to replicate the behavior of a linear transformer using a T-model with controlled sources, you can use voltage and current controlled sources to connect the T-model between two electronic circuits. Here's a general outline of how you might approach this:
  • T-Model Representation: The T-model for a transformer typically consists of two port networks, with the primary and secondary sides represented by voltage and current sources. The T-model is commonly used to represent the behavior of a real transformer.
  • Using Controlled Sources:To replicate the behavior of the linear transformer using the T-model with controlled sources, you can use voltage and current controlled sources in your circuit simulation tool (e.g., SPICE, Simulink, etc.).
In Simulink, you can use Simscape Electrical library to model the T-model with controlled sources. Here's a simplified example of how you might set this up:
% Create a new Simulink model
model = 'T_model_controlled_sources';
open_system(new_system(model));
% Add Simscape Electrical Specialized Power Systems library to the model
Simscape.ElectricalSpecializedPowerSystems.addSimscape();
% Add components to the model
add_block('simscape/Utilities/PS-Simulink Converter', [model '/Simulink-PS Converter']);
add_block('simscape/SimPowerSystems/Specialized Technology/Controlled Sources/Voltage Controlled Voltage Source', [model '/V-Controlled V-Source']);
add_block('simscape/SimPowerSystems/Specialized Technology/Controlled Sources/Current Controlled Current Source', [model '/I-Controlled I-Source']);
add_block('simscape/SimPowerSystems/Specialized Technology/Controlled Sources/Voltage Controlled Current Source', [model '/V-Controlled I-Source']);
% Connect the components
add_line(model, 'Simulink-PS Converter/1', 'V-Controlled V-Source/1');
add_line(model, 'V-Controlled V-Source/1', 'V-Controlled I-Source/1');
add_line(model, 'V-Controlled I-Source/1', 'I-Controlled I-Source/1');
add_line(model, 'I-Controlled I-Source/1', 'Simulink-PS Converter/1');
% Set parameters for controlled sources if needed
set_param([model '/V-Controlled V-Source'], 'Gain', '1');
set_param([model '/V-Controlled I-Source'], 'Gain', '1');
% Save and close the model
save_system(model);
close_system(model);
In this example, we're creating a new Simulink model, adding the necessary Simscape Electrical components for the T-model with controlled sources, and connecting them accordingly. You can set parameters for the controlled sources as needed for your specific application. Once you've set up the model, you can open it in Simulink to further configure and simulate the behavior of the T-model with controlled sources.
  • Verification
Once you have set up the T-model with controlled sources, you should verify that it produces similar results to the linear transformer model provided by the Simulink library. You can compare the behavior of the T-model with controlled sources to the original linear transformer model under various operating conditions to ensure that they exhibit similar characteristics.
For more information regarding transformer you can refer the following document: https://www.mathworks.com/help/sps/transformers.html
I hope it helps!

Community Treasure Hunt

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

Start Hunting!