+ All Categories
Home > Documents > Sim Power Systems

Sim Power Systems

Date post: 16-Jan-2016
Category:
Upload: chau-phan-giang
View: 67 times
Download: 0 times
Share this document with a friend
Description:
Sim Power Systems
Popular Tags:
8
SimPowerSystems Model and simulate electrical power systems SimPowerSystems™ provides component libraries and analysis tools for modeling and simulating electrical power systems. The libraries offer models of electrical power components, including three-phase machines, electric drives, and components for applications such as flexible AC transmission systems (FACTS) and renewable energy systems. Harmonic analysis, calculation of total harmonic distortion (THD), load flow, and other key electrical power system analyses are automated. SimPowerSystems models can be used to develop control systems and test system-level performance. You can parameterize your models using MATLAB ® variables and expressions, and design control systems for your electrical power system in Simulink ® . You can add mechanical, hydraulic, pneumatic, and other components to the model using Simscape™ and test them together in a single simulation environment. To deploy models to other simulation environments, including hardware-in-the-loop (HIL) systems, SimPowerSystems supports C-code generation. SimPowerSystems was developed in collaboration with Hydro-Québec of Montreal. Learn more about physical modeling. Key Features Libraries of application-specific models, including models of common AC and DC electric drives, flexible AC transmission systems (FACTS), and renewable energy systems Discretization and phasor simulation modes for faster model execution Ideal switching algorithm for accelerated simulation of power electronic devices Analysis methods for obtaining state-space representations of circuits and computing load flow for machines Basic models for developing key electrical technologies Ability to extend component libraries using the Simscape language Support for C-code generation 1
Transcript
Page 1: Sim Power Systems

SimPowerSystemsModel and simulate electrical power systems

SimPowerSystems™ provides component libraries and analysis tools for modeling and simulating electrical powersystems. The libraries offer models of electrical power components, including three-phase machines, electricdrives, and components for applications such as flexible AC transmission systems (FACTS) and renewable energysystems. Harmonic analysis, calculation of total harmonic distortion (THD), load flow, and other key electricalpower system analyses are automated.

SimPowerSystems models can be used to develop control systems and test system-level performance. You canparameterize your models using MATLAB® variables and expressions, and design control systems for yourelectrical power system in Simulink®. You can add mechanical, hydraulic, pneumatic, and other components tothe model using Simscape™ and test them together in a single simulation environment. To deploy models to othersimulation environments, including hardware-in-the-loop (HIL) systems, SimPowerSystems supports C-codegeneration.

SimPowerSystems was developed in collaboration with Hydro-Québec of Montreal.

Learn more about physical modeling.

Key Features▪ Libraries of application-specific models, including models of common AC and DC electric drives, flexible AC

transmission systems (FACTS), and renewable energy systems

▪ Discretization and phasor simulation modes for faster model execution

▪ Ideal switching algorithm for accelerated simulation of power electronic devices

▪ Analysis methods for obtaining state-space representations of circuits and computing load flow for machines

▪ Basic models for developing key electrical technologies

▪ Ability to extend component libraries using the Simscape language

▪ Support for C-code generation

1

Page 2: Sim Power Systems

SimPowerSystems model (left) of an asynchronous motor and diesel-generator uninterruptible power supply (UPS). TheSimulink scope (right) shows stator currents and speed of the asynchronous machine.

SimPowerSystems supports the development of complex, self-contained power systems, such as those inautomobiles, aircraft, manufacturing plants, and power utility applications. The models you create support yourentire development process, including hardware-in-the-loop simulations.

Modeling Electrical Power Systems

SimPowerSystems provides libraries for modeling electric machines, transformers, and power converters. You canconnect components, such as generators, transmission lines, breakers, and motors, to model electrical powersystems. Application-specific libraries are also provided, enabling you to model electric drives, aircraft powernetworks, and renewable energy systems. Connecting these systems with control systems modeled in Simulink letsyou test integrated electrical power systems in a single environment.

In addition to the traditional input-output or signal flow connections used in Simulink, SimPowerSystems usesphysical connections that permit the flow of power in any direction. Models of electrical power systems built usingphysical connections (or acausal models) closely resemble the network they represent, and are easy to understandand share.

You can define your three-phase connections using individual connections for each phase, enabling you toperform tests such as injecting a single-line-to-ground fault. You can also create single-line diagrams, where thethree phases are represented by a single line, making the diagram easy to read. SimPowerSystems components areparameterized using the per-unit system, which is widely used in the power system industry and simplifies theparameterization and analysis of your system.

2

Page 3: Sim Power Systems

SimPowerSystems model (left) of a permanent magnet synchronous motor and inverter sized for use in a typical hybridvehicle. The model includes the electrical connections (single-phase and three-phase) and signal flow connections, andthe scope (right) shows the stator currents in the PMSM.

Creating Custom Components

You can add components from other physical modeling products to your SimPowerSystems model. TheFoundation libraries in Simscape contain blocks in hydraulic, thermal, magnetic, and other physical domains.Integrating these domains into your SimPowerSystems model using physical connections helps you model otheraspects of your system in a single environment.

The Simscape language is an object-oriented language based on MATLAB that enables you to create your ownphysical modeling components and libraries. You can define custom components complete withparameterization, physical connections, and equations represented as acausal implicit differential algebraicequations (DAEs). Within your component’s Simscape language file, you can use MATLAB to analyze parametervalues, perform preliminary computations, and initialize system variables. The Simulink block and dialog box foryour custom component are automatically created from the file.

Using the Simscape language, you can control exactly which effects are captured in the models of your physicalcomponents. This approach enables you to balance the tradeoff between model fidelity and simulation speed.

3

Page 4: Sim Power Systems

Custom Simscape implementation of a permanent magnet synchronous motor, used as a generator. The MATLABeditor shows Simscape language source code of the electrical and mechanical equations, and the scope shows thethree-phase AC currents and DC current at the load.

Simulating Models

You can simulate your SimPowerSystems models using any of three solution methods for your power systemnetwork, as well as an ideal switching algorithm that improves simulation performance for systems withhigh-frequency switching.

Continuous methods perform highly accurate simulations of power system models, varying the step size tocapture the dynamics of your system. Discrete methods enable you to control the precision of your simulation byselecting the size of the time step. Phasor simulation replaces the differential equations representing the networkwith a set of algebraic equations at a fixed frequency, making it possible to do transient stability studies of systemswith multiple machines.

The ideal switching algorithm in SimPowerSystems enables fast and accurate simulation of systems containingpower electronic devices. This algorithm uses an improved method of calculating the state-space representation ofthe system instead of relying on current sources with high-impedance snubbers to model power electronic devices.This method gives you greater flexibility in selecting a solver and results in shorter simulation times.

4

Page 5: Sim Power Systems

SimPowerSystems interface for selecting simulation options. Continuous, discrete, and phasor simulation modes aresupported, with the option of enabling an ideal switching algorithm for faster simulation.

Analyzing Models

SimPowerSystems provides tools for analyzing models, visualizing simulation results, and calculating advancedblock parameters, enabling you to:

▪ Display steady-state voltage and currents

▪ Display and modify initial state values

▪ Perform load flows and machine initialization

▪ Perform harmonic analysis

▪ Display impedance vs. frequency measurements

The load flow computational engine computes initial currents of synchronous and asynchronous machines. Youspecify the desired steady-state machine conditions in your circuit, and SimPowerSystems computes the load flow.The resulting rotor position, initial currents, and internal fluxes are automatically entered into the parameters forthe machines.

SimPowerSystems lets you analyze the electrical network topology and compute the equivalent state-space modelof your circuit without running a simulation. You can link the state-space model to the Linear System Analysisapp in Control System Toolbox™ to obtain time-domain and frequency-domain responses.

5

Page 6: Sim Power Systems

The SimPowerSystems FFT analysis tool. The frequency spectrum of a voltage waveform is displayed, and powerquality is measured by calculating total harmonic distortion.

Deploying Models

You can deploy SimPowerSystems models using code generated with Simulink Coder™. The generated code letsyou:

▪ Run hardware-in-the-loop simulations by deploying SimPowerSystems plant models onto real-timeprocessors that interface directly with other hardware

▪ Build standalone executables of SimPowerSystems models that can be integrated into C programs or otherMATLAB and Simulink models

▪ Improve simulation speed by compiling the C code

▪ Share models without exposing your intellectual property

Sharing Models

You can share SimPowerSystems models with Simscape users who have not purchased SimPowerSystems.Simscape users can view, simulate, and change parameter values in SimPowerSystems models by leveraging theSimscape Editing Modes. As a result, your team can share SimPowerSystems models with a larger group ofengineers who use Simscape.

6

Page 7: Sim Power Systems

Working with SimPowerSystems Models

Task Model Developer(Purchases Simscape andSimPowerSystems)

Model User(Purchases Simscape)

Simulate

Log data or change visualization

Change numerical parameters

Generate code with Simulink Coder

Change block parameterization options

Make or break physical connections

SimPowerSystems in Academia

You can use SimPowerSystems to teach how theory relates to electrical network behavior. Students can analyzelarge and complex systems, and the simulation results from SimPowerSystems simulations give students a betterunderstanding of what can happen in a true electrical network. To demonstrate how effects such as hysteresisinfluence the electrical system represented by your SimPowerSystems model, you can implement equations forthese effects in the Simscape language.

Using simulation, students can prototype in a virtual environment, which encourages them to try out new designsand to explore the entire parameter space. Simulation enables them to optimize their designs in research projectsand student competitions.

Because SimPowerSystems is used widely across industries such as automotive, aerospace, and robotics,graduating students who have experience with this multibody simulation tool are in demand by employers.

Learn more about engaging students with modeling and simulation.

SimPowerSystems Technologies

SimPowerSystems includes both Simscape Components and Specialized Technology libraries. You can create andsimulate systems using either library, and a single SimPowerSystems model can contain components from bothlibraries.

Simscape Components libraries use the full range of Simscape technology, and the component models are writtenin the Simscape language. You can directly connect these models with the Simscape Foundation librarycomponents and with components from other physical modeling products.

Specialized Technology libraries provide components and technology specifically developed for electrical powersystems. Specialized Technology models contain a large number of models that use their own electrical domain.You ultimately connect these blocks to other Simscape elements through Simulink signals.

For more information on the difference between these two technologies, see the SimPowerSystems documentationand Release Notes.

7

Page 8: Sim Power Systems

Product Details, Examples, and System Requirementswww.mathworks.com/products/simpower

Trial Softwarewww.mathworks.com/trialrequest

Saleswww.mathworks.com/contactsales

Technical Supportwww.mathworks.com/support

Resources

Online User Communitywww.mathworks.com/matlabcentral

Training Serviceswww.mathworks.com/training

Third-Party Products and Serviceswww.mathworks.com/connections

Worldwide Contactswww.mathworks.com/contact

© 2014 The MathWorks, Inc. MATLAB and Simulink are registered trademarks of The MathWorks, Inc. See www.mathworks.com/trademarksfor a list of additional trademarks. Other product or brand names may be trademarks or registered trademarks of their respective holders. 8


Recommended