Questions tagged [simpowersystems]

SimPowerSystems is an add-on to Simulink for modelling and simulating electrical power systems. It provides component libraries and analysis tools. It was developed in collaboration with Hydro-Québec of Montreal.

15 questions
1
vote
1 answer

Using labels with simpower simulink library

I was simulating a winding generator using the simpower library from Matlab's simulink and the schematic turn to be quite big. That when I discovered that labels (blocks "Goto" and "From" in simulink) don't connect to simpower wires. What are the…
1
vote
1 answer

Matlab circuit simulation

I am new to MATLAB and i want so simulate basic circuit, but i can't connect elements together. All i get is some red dotted line and a warning: Unconnected output line found on 'D1/DC Voltage Source' (output port: 1) How can i connect those…
intelis
  • 7,829
  • 14
  • 58
  • 102
1
vote
1 answer

reversing the "Measured voltage" in Simulink

Within Simulink, we can use the "Measure voltage" to get a numerical representation (Simulink Signal) of the voltage and use it for mathematical operations. Does there exist a way to take a numerical representation (Simulink Signal) and convert it…
William Dussault
  • 375
  • 2
  • 17
0
votes
0 answers

Power system optimization、Arguments are complex

In the frequency optimization problem of the power system, a complex number with a parameter value of Z=0.885+j0.310 is encountered. How to define this complex number in Pyomo.Can we use the analogy of solving the node admittance matrix in the power…
cclong
  • 1
0
votes
0 answers

Why is the three-phase fault block in Simulink producing low current during simulation with correctly configured relay logic?

I am in dire need of some help on this topic. I am trying to simulate the function of three-phase relays in simulink and after implementing the relay logic to control breakers on either side of a transformer. I also need to somehow simulate a three…
GeKarv
  • 1
  • 1
0
votes
0 answers

Connecting Error of Current measurement block to Controlled Current Source In Simulink ; Simscape

I'm doing a simulation related to Mathworks Simulink Aircraft Electrical Power System Model. https://kr.mathworks.com/help/sps/ug/aircraft-electrical-power-generation-and-distribution.html Below is the normal model part for the Generator part. This…
0
votes
1 answer

One Cycle Fourier Window optimization. My code is inefficient

Good day EDIT: What I want: From any current/voltage waveform on a Power System(PS) I want the filtered 50Hz (fundamental) RMS values magnitudes (and effectively their angles). The current as measured contains all harmonics from 100Hz to 1250Hz…
apemanx
  • 43
  • 4
0
votes
0 answers

Extracting First Harmonic component from FFT block Output Array in SImulink

I have been working on a project to design a Phasor Measurement Unit(PMU) in Simulink. And one of the steps involves taking the first harmonic from the FFT block output array(The FFT block itself takes a phase signal as input). I am having trouble…
Abrar Hossain
  • 99
  • 1
  • 1
  • 7
0
votes
1 answer

How to copy data from Simulink Powergui Load Flow Tool to Array in Matlab?

I have developed a process to semi-automate the Simulink Load Flow Tool to allow the Load Flow to continuously be computed for different Load values. Each time the Load Flow is computed I require the data to be copied from the Powergui Load Flow…
0
votes
1 answer

GAMS - Economic Dispatch - QCP and NLP

I have this code: If I use NLP i get the results, but using QCP as it was asked to me, I can not get results anyone can help me finding the reason? code: sets g generators / P1*P5 / properties generator properties …
0
votes
0 answers

How to transfer single line diagram into simulink using simpowersystems (Matlab)

Here is my example of single line diagram that i want to transfer into the simulink I had a single line diagram and I want to convert it into simulink using Matlab. The problem is i did't find the bus bar in the simulink. Can anyone help me please?
Ana
  • 1
  • 2
0
votes
1 answer

The best way to connect Hybrid stepper motor Simpower model to Simmechanics v2 in Simulink

I need to connect a hybrid stepper motor model to a rotative joint in a 2nd generation Simmechanics model build by myself. I connected the output angle of the stepper model to the actuation - motion input, letting the joit module to calculate the…
Southernal
  • 171
  • 1
  • 5
0
votes
1 answer

Simpowers plus simmechanics

I need to combine in MATLAB model of machine in SimMechanics with blocks of SimPowerSystems: asynchronous machine. I googled it but didn't find any relevant article. In my work I should consider impact of bearings like reaction forces and etc. Is…
Robert
  • 371
  • 1
  • 5
  • 15
0
votes
1 answer

Retrieving data from MATLAB workspace into Simulink

I sense a data 'v' in a Simulink model and now want to generate 'v' magnitude of DC voltage in again, the same simulink model. I tried to get this working by putting 'v' in block parameters of DC voltage block. Please help me with how I can…
0
votes
1 answer

Error:The following SimPowerSystem block is not allowed with the Phasor simulation method

I have download wind turbine project from math work. In generator block they used Asynchronous Machine SI Units. when i try to change Asynchronous Machine SI Units with Asynchronous Machine pu Units. I got the following error: The following…
user2890017