<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE article  PUBLIC "-//NLM//DTD Journal Publishing DTD v3.0 20080202//EN" "http://dtd.nlm.nih.gov/publishing/3.0/journalpublishing3.dtd"><article xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink" dtd-version="3.0" xml:lang="en" article-type="research article"><front><journal-meta><journal-id journal-id-type="publisher-id">OJMSi</journal-id><journal-title-group><journal-title>Open Journal of Modelling and Simulation</journal-title></journal-title-group><issn pub-type="epub">2327-4018</issn><publisher><publisher-name>Scientific Research Publishing</publisher-name></publisher></journal-meta><article-meta><article-id pub-id-type="doi">10.4236/ojmsi.2014.22010</article-id><article-id pub-id-type="publisher-id">OJMSi-44719</article-id><article-categories><subj-group subj-group-type="heading"><subject>Articles</subject></subj-group><subj-group subj-group-type="Discipline-v2"><subject>Physics&amp;Mathematics</subject></subj-group></article-categories><title-group><article-title>
 
 
  Physical Network Approach Applied to Wind Turbine Modeling with Simscape Language
 
</article-title></title-group><contrib-group><contrib contrib-type="author" xlink:type="simple"><name name-style="western"><surname>lhaini</surname><given-names>Jamila</given-names></name><xref ref-type="aff" rid="aff1"><sup>1</sup></xref><xref ref-type="corresp" rid="cor1"><sup>*</sup></xref></contrib><contrib contrib-type="author" xlink:type="simple"><name name-style="western"><surname>Saka</surname><given-names>Abdelmjid</given-names></name><xref ref-type="aff" rid="aff1"><sup>1</sup></xref><xref ref-type="corresp" rid="cor1"><sup>*</sup></xref></contrib></contrib-group><aff id="aff1"><addr-line>Mechanical Engineering Laboratory, Faculty of Sciences and Technology FST, Road Immouzer, Fez, Morocco</addr-line></aff><author-notes><corresp id="cor1">* E-mail:<email>j.elhaini@gmail.com(LJ)</email>;<email>abdelmjid.saka@gmail.com(SA)</email>;</corresp></author-notes><pub-date pub-type="epub"><day>28</day><month>03</month><year>2014</year></pub-date><volume>02</volume><issue>02</issue><fpage>77</fpage><lpage>89</lpage><history><date date-type="received"><day>10</day>	<month>February</month>	<year>2014</year></date><date date-type="rev-recd"><day>19</day>	<month>March</month>	<year>2014</year>	</date><date date-type="accepted"><day>27</day>	<month>March</month>	<year>2014</year></date></history><permissions><copyright-statement>&#169; Copyright  2014 by authors and Scientific Research Publishing Inc. </copyright-statement><copyright-year>2014</copyright-year><license><license-p>This work is licensed under the Creative Commons Attribution International License (CC BY). http://creativecommons.org/licenses/by/4.0/</license-p></license></permissions><abstract><p>
 
 
  Model-Based Design is an efficient and cost-effective way to develop controls, signal processing, image processing, communications, mechatronics, and other embedded systems. Rather than re-lying on physical prototypes and textual specifications, Model-Based Design uses a system model as an executable specification throughout development. It supports system- and component-level design and simulation, automatic code generation, and continuous test and verification. This paper is focused firstly on the so-called model-based design and aims at presenting an up-to-date state of the art in this important field. Secondly, it develops a model based design for wind energy systems. Mathematical formulations and numerical implementations for different components of wind energy systems are highlighted with Simscape language. Finally, results are derived from simulations.
 
</p></abstract><kwd-group><kwd>Mathematical Modeling; Model-Based Design; Simscape; Physical Network Approach; Wind Energy Systems</kwd></kwd-group></article-meta></front><body><sec id="s1"><title>1. Introduction</title><p>For a system as complex as a wind turbine, the ability to simulate the physical systems (mechanical, electrical, hydraulic, etc.) and control systems in a single environment is crucial to the development process. Model-Based Design approach, the best method for modeling complex systems, enables engineers to incorporate requirements into the development process, to design at the system level, and to predict and optimize overall system performance without relying only on hardware prototypes. It reduces development time, improves product quality and helps to lower development costs.</p><p>The contribution of this paper is three-fold. Firstly, an up-to-date of the state of the art of Model-Based-Design approach is presented, especially the Physical Network approach. According to this approach, each system is represented as consisting of functional elements that interact with each other by exchanging energy through their ports. Then, the powerful language for physical modeling simscape is presented. In the third part, we firstly give general information about the wind energy system and secondly, we model this system with MATLAB/ Simscape software, a powerful tool for physical modeling. Finally, the simulation results are presented.</p></sec><sec id="s2"><title>2. Model Based Design-State of Art</title><p>In traditional design processes, design information is communicated and managed as text based documentation. Frequently this documentation is difficult to comprehend [<xref ref-type="bibr" rid="scirp.44719-ref1">1</xref>] . Model-based design can be used as a specification that contains greater detail than text-based specifications. In real-time applications, it enables developers to evaluate multiple options, predict systems performance, test systems functionality by imposing I/O conditions that might be operationally expected (before product deployment), and test designs. It allows building virtual prototypes or model to converge to an optimal solution much faster than traditional methods [<xref ref-type="bibr" rid="scirp.44719-ref1">1</xref>] .</p><p>Modeling system can be done in different ways. Firstly, a mathematical model can be developed from natural laws that describe the evolution of the system. Then it is either linearized to form a transfer function or represented directly using block diagram and the signals are transmitted through the relationship between the individual blocks; the signals are used to transfer the values of individual variables from the output of an input block to other blocks. The mathematical model is dependent upon location in system making it difficult to reuse [<xref ref-type="bibr" rid="scirp.44719-ref2">2</xref>] [<xref ref-type="bibr" rid="scirp.44719-ref3">3</xref>] . It is the input-output or signal-based methods which were useful for control engineers because they were written in a language they could easily understand and integrated with their control system models [<xref ref-type="bibr" rid="scirp.44719-ref4">4</xref>] . The models built by this method typically execute very quickly because the modeler has specified the exact calculations that the solver must complete [<xref ref-type="bibr" rid="scirp.44719-ref5">5</xref>] .</p><p>However, while this method works very well for control systems, it has some disadvantages when modeling physical systems. Physical systems are often expressed in the form of DAEs, which are composed of sets of equations that must be solved simultaneously. Another disadvantage is that the models that are created depend upon which elements they are connected to. It is necessary to know which inputs are available and which outputs must be calculated in order to connect it with the rest of the system. This type of model is difficult to reuse in other models or applications, for it requires that the other components in the system are modeled in the same manner. This becomes especially complex when modeling components that cross multiple physical domains, like a DC motor or a hydraulic cylinder [<xref ref-type="bibr" rid="scirp.44719-ref4">4</xref>] .</p><p>Due to these reasons, engineers began looking for a better method for modeling these types of systems. For purely electrical systems, Kirchoff’s laws have been used for quite a long time to express the equations for a entire system by applying a few basic mathematical rules to a network of electrical components represented by their individual mathematical models [<xref ref-type="bibr" rid="scirp.44719-ref5">5</xref>] . For example, the component model of a resistor was represented by v = iR, and this component model of an ideal resistor was identical for all resistors in the electrical network, independent of where the resistors were placed in the circuit. The equations for the entire system could be derived by applying Kirchoff’s laws at the nodes of the electrical circuit. This method permits the component models to be modular and reusable while also being able to mathematically represent an entire circuit [<xref ref-type="bibr" rid="scirp.44719-ref4">4</xref>] . It was seen that other physical domains were analogous to electrical networks, and that similar rules could be applied to systems composed of one or more other physical domains.</p><p>Recently, the new approach, Physical Network provides for multidomain physical systems the same benefits that Kirchoff’s laws provided for electrical systems. Using this method, an engineer could build up a library of component models that could be reused in a variety of models in a variety of applications which facilitate multidomains modeling.</p><p>Languages such as Simscape [<xref ref-type="bibr" rid="scirp.44719-ref6">6</xref>] and Modelica [<xref ref-type="bibr" rid="scirp.44719-ref7">7</xref>] are based on physical this approach. Modelica generates many redundant variables and equations, which are later removed by the solver. Contrariwise, Simscape language generates a fewer equations .Also, it has no need for co-simulation enviremnent. That is why we focus in this thesis in Simscape language.</p></sec><sec id="s3"><title>3. Strategy Based on Simscape Language</title><p>Simscape is a toolbox for physical modeling developed by the MathWorks for Simulink, and it has been available since version R2007A of the MATLAB suite [<xref ref-type="bibr" rid="scirp.44719-ref8">8</xref>] . It includes a foundation library, which contains basic components for electrical, hydraulic, mechanical and thermal systems, and an utilities library, which contains utility blocks, such as:</p><p>• Solver Configuration block, which contains parameters relevant to numerical algorithms for Simscape simulations. Each Simscape diagram (or each topologically distinct physical network in a diagram) must contain a Solver Configuration block.</p><p>• Simulink-PS Converter block and PS-Simulink Converter block, to connect Simscape and Simulink blocks. Use the Simulink-PS Converter block to connect Simulink outports to Physical Signal inports. Use the PS-Simulink Converter block to connect Physical Signal outports to Simulink inports [<xref ref-type="bibr" rid="scirp.44719-ref6">6</xref>] .</p><p>• There are also more specialized toolboxes for physical modeling (such as SimDriveline, SimHydraulics, SimElectronics and SimMechanics) that now are considered as parts of the Simscape product family.</p><p>• In R2008b, a major upgrade of Simscape was made, introducing the Simscape language which allows the users to create their own physical models, and even new physical domains. The language is based on MATLAB syntax, but it is possible to define acausal equations [<xref ref-type="bibr" rid="scirp.44719-ref8">8</xref>] . This language offers three important advances:</p><p>• Non-causal modeling based on differential and algebraic equations instead of assignment statements as in traditional input/output block abstractions. Direct use of equations significantly increases re-usability of model components, since components adapt to the data flow context in which they are used. This generalization enables both simpler models and more efficient simulation.</p><p>• Multidomain modeling capability wich enables us to combine electrical, mechanical, thermodynamic, hydraulic within the same application model.</p><p>• Object-oriented modeling: oriented-object means that you can build a model similar to a real system by taking the components and connecting them into a model. These physical components can be connected through exactly defined interfaces (connectors) in which variables used for connection are defined, so that only connectors falling in the same connector classes can be connected. which are employed to support hierarchical structuring, reuse, and evolution of large and complex models covering multiple technology domains [<xref ref-type="bibr" rid="scirp.44719-ref9">9</xref>] .</p><p>In Simscape each block in the system consists of functional elements that interact with each other by exchanging power or energy trough their ports. These ports, named physical conserving ports, are bidirectional and each different type of ports represents a physical domain. We can only connect to conserving ports of the same type. There are several types of conserving ports in SIMSCAPE, each with effort and flow associated variables.</p><p>The lines between these ports carry physical variables (trough and across) instead of signals. Through variables are measured with a gauge connected in series to an element. While Across variables are measured with a gauge connected in parallel to an element [<xref ref-type="bibr" rid="scirp.44719-ref10">10</xref>] . The product of these variables represents the power (energy flow) in watts, with the exception of air and magnetic field, where their product is energy [<xref ref-type="bibr" rid="scirp.44719-ref11">11</xref>] .</p><p>According to Pecheux and Al (2005), these two variables obey the generalized Kirchhoff first law.</p><p>Another kind of ports in simscape is Physical signal ports. these ports are one-way directional and transfers signals between blocks with units associated with them. They permit to connect physical blocks developped in simscape to control model built using signal flows in Simulink or to other MathWorks application and this by means of converter blocks Simulink-PS Converter block and PS-Simulink Converter block [<xref ref-type="bibr" rid="scirp.44719-ref12">12</xref>] .</p></sec><sec id="s4"><title>4. Wind Energy System</title><sec id="s4_1"><title>4.1. Wind Energy Basics</title><p>Wind turbines are systems that harness the kinetic energy of the wind for useful power. Wind flows over the rotor of a wind turbine, causing it to rotate on a shaft. The resulting shaft power can be used for mechanical work, like pumping water, or to turn a generator to produce electrical power.</p><p>Wind turbines span a wide range of sizes, from small rooftop turbines generating less than 100 kilowatts up to large commercial wind turbines in the megawatt power range, many of which operate in large clusters called wind farms.</p><p>There are many different wind turbine designs, they are broadly grouped in two categories based on the orientation of the axis of rotation: Horizontal Axis Wind Turbines and Vertical Axis Wind Turbines. Most wind turbines are built today with the horizontal-axis design, which offers a cost-effective turbine construction, installation, and control by varying the blade pitch.</p><p>The vertical-axis machine has different advantages. First of all, it is omnidirectional and requires no yaw mechanism to continuously orient itself toward the wind direction. Secondly, its vertical drive shaft simplifies the installation of the gearbox and the electrical generator on the ground, making the structure much simpler. On the negative side, it normally requires guy wires attached to the top for support. This could limit its applications, particularly at offshore sites. Overall, the vertical-axis machine has not been widely used, primarily because its output power cannot be easily controlled in high winds simply by changing the blade pitch [<xref ref-type="bibr" rid="scirp.44719-ref13">13</xref>] .</p></sec><sec id="s4_2"><title>4.2. System Components</title><p>The wind power system comprises one or more wind turbine units operating electrically in parallel. Each turbine is made of the following basic components as shown in <xref ref-type="fig" rid="fig1">Figure 1</xref>:</p><p>• Tower structure</p><p>• Rotor with blades attached to the hub. The three-bladed concept is the most common concept for modern wind turbines. It is dynamically more stable and has better visual impact. It converts the energy in the wind to rotational shaft energy.</p><p>The mechanical power available at the output of the rotor is given by Equation (1).</p><disp-formula id="scirp.44719-formula122063"><label>(1)</label><graphic position="anchor" xlink:href="htmlimages\6-2860021x\080511f5-f59b-4fea-b9c5-ca36efd8c751.png"  xlink:type="simple"/></disp-formula><p>Cp is the power coefficient or performance coefficient which indicates the efficiency with which the turbine converts the mechanical energy of the wind into electricity. This coefficient differs according to the turbines.</p><p>In our case, the coefficient is given by the relation in the Equation (2). It is the most used formula.</p><disp-formula id="scirp.44719-formula122064"><label>(2)</label><graphic position="anchor" xlink:href="htmlimages\6-2860021x\dd8380ac-2465-44d7-ae9c-da72706b9da6.png"  xlink:type="simple"/></disp-formula><p>With a is the angle of attack of wind turbine and <inline-formula><inline-graphic xlink:href="tmlimages\6-2860021x\928f69d9-bff3-4267-a197-784e4078ee5b.png" xlink:type="simple"/></inline-formula> depends on λ and a as shown in Equation (3).</p><disp-formula id="scirp.44719-formula122065"><label>(3)</label><graphic position="anchor" xlink:href="htmlimages\6-2860021x\81d4d106-c0af-4d60-9020-a16ca1896099.png"  xlink:type="simple"/></disp-formula><p>And λ is the specific speed witch is calculated by Equation (4).</p><disp-formula id="scirp.44719-formula122066"><label>(4)</label><graphic position="anchor" xlink:href="htmlimages\6-2860021x\c581644c-7e5f-4662-8d58-66bbfc3a4ba6.png"  xlink:type="simple"/></disp-formula><p>with U is the tip speed of the blades, v is wind speed, R is the radius or length of the blades and ω is the rotational frequency of the rotor (in rad/s). β is the pitch angle of the blades.</p><p>• Shaft with mechanical gear: The power from the rotation of the wind turbine rotor is transferred to the  generator through the power train. With a gearbox you convert between slowly rotating, high torque power which you get from the wind turbine rotor, and high speed, low torque power, which you use for the generator.</p><p>• Electrical generator: The generator is what converts the turning motion of a wind turbine’s blades into electricity. Inside this component, coils of wire are rotated in a magnetic field to produce electricity. The two types of electric machines commonly used in the wind turbine industry are synchronous and asynchronous machines.</p><p>The mechanical equation that present the machine is given by Equation (5)</p><disp-formula id="scirp.44719-formula122067"><label>(5)</label><graphic position="anchor" xlink:href="htmlimages\6-2860021x\51020088-bddd-4a59-85e1-75fdd08ea5a4.png"  xlink:type="simple"/></disp-formula><p>where Ω is the mechanical rotational speed, Cr is the load torque, J is the moment of inertia of the rotating part and f is the coefficient of viscous friction.</p><p>• Control mechanisms: The wind turbine technology has changed significantly in the last 25 years. Large wind turbines being installed today tend to be of variable-speed design, incorporating pitch control and/or power electronics(electronic converters).</p><p>Pitch angle control system consists of varying the pitch angle (from a certain value to 0˚) of the blades arround the hub using hydraulic cylinders around a longitudinal axis to stop the blades if the wind speed is below the inflow speed (generally 6 m/s) and if it is above the rated speed in order not to destroy the system [<xref ref-type="bibr" rid="scirp.44719-ref14">14</xref>] . The hydraulic system depicted in <xref ref-type="fig" rid="fig2">Figure 2</xref> performs positioning of the blades according to the wind speed. It consists of crank-rod system actuated by a hydraulic generator [<xref ref-type="bibr" rid="scirp.44719-ref13">13</xref>] [<xref ref-type="bibr" rid="scirp.44719-ref15">15</xref>] .</p><p>The second solution which can be used to vary the pitch angle is composed of a DC motor which rotates the blade when it gets an electrical command. It is the solution treated in this paper.</p><p>The power electronics function is to catch the maximum of instantaneous wind.</p></sec></sec><sec id="s5"><title>5. Physical Modeling of Wind Turbine in Simscape</title><sec id="s5_1"><title>5.1. Interest for Multiphysics Modeling of Wind Energy System</title><p>The rapid expansion of wind power is partly the result of increased turbine size and the addition of new wind farms. It is also due to technological improvements in the wind turbines themselves. Better rotor-blade aerodynamics, more efficient generators, and improved supervisory control systems make today’s wind turbines more efficient than ever before.</p><p>This enhanced technology presents engineers with new challenges. A wind turbine is a complex system in which a variety of subsystems must work together as efficiently as possible. The subsystems include mechanical devices such as rotor blades, gearboxes, hydraulic or electric drives for setting blade pitch angles, electrical yaw drives, generators, and the connection to the electrical grid. All of these are monitored by a complex supervisory control system that must respond in a specific way to varying environmental conditions, such as changing wind speeds.</p><p>In a traditional development process, the various subsystems are created in separate software and simulation environments. The result is that subsystems can only be tested together when hardware prototypes have been produced.</p><p>In physical modeling, we can assemble system-level models that span multiple physical domains and include the control system in a single environment and extend the analysis with 3-D visualization.</p></sec><sec id="s5_2"><title>5.2. Wind Turbine Model</title><p><xref ref-type="fig" rid="fig3">Figure 3</xref> represents diffent blocks of physical systems that constitute the wind energy system.</p><p>The block ‘wind couple’ depicted in <xref ref-type="fig" rid="fig4">Figure 4</xref>, calculates the aerodynamic torque applied to the blades witch depends on the wind speed, the speed of the generator and the pitch angle. this torque turns the blades and</p><p>therefore the hub which constitute the rotor. This motion can be visualized in 3-D animation provided by Simmechanics environment in which the block ‘rotor’ is modeled. The block’s rotor model is depicted in <xref ref-type="fig" rid="fig5">Figure 5</xref>.</p><p>We can multiply the speed of rotation of the wind turbine using a gearbox as shown in <xref ref-type="fig" rid="fig6">Figure 6</xref>. The SimDriveline tool enable modeling driveline systems which consist of one or more inertias and masses, rotating about or translating along one or more axes, constrained to rotate or translate together by gears, which transfer torque and forces to different parts of the driveline. The torque at the output of the block gear-train is that applied to the generator’s shaft.</p><p>DC motor block permits to vary the pitch angle by rotating the blade around its longitudinal axis. Each blade has its own pitch command actuating but for simplification, only one DC motor model is presented.</p><p>The braking system block models the hydromechanical command to brake the rotor in case of a high wind speed.</p><sec id="s5_2_1"><title>5.2.1. Model of Wind Couple Subsystem</title><p>The calculation of the wind couple is based on Equation (1) which is linearized to form a transfer function.</p></sec><sec id="s5_2_2"><title>5.2.2. Model of Rotor Subsystem</title><p>The blades and the rotor are represented by bodies connected by joints representing the possible motions of bodies relative to one another.</p><p>The rotor and blades can rotate relative to ground. Also, the blades can make a rotational movement relative to the hub to vary thereby the pitch angle. The bodies are modeled with Body blocks specified by their masses, inertia tensors, and attached Body coordinate systems (CSs).</p><p>Instead of typing these characteristics, we can use the SimMechanics importer to automatically generate a SimMechanics model based on an external data file previously exported from a supported CAD platform.</p></sec><sec id="s5_2_3"><title>5.2.3. Model of Gear Train</title><p>In the model depicted in <xref ref-type="fig" rid="fig6">Figure 6</xref>, simple and planetary gears are used to transfer torque up and down the driveline axes. The Inertia block represents a rotating body specified by its moment of inertia. The choice of planetary gear and simple gear is made to have a greater gear ratio. Otherwise, we can settle for a simple gear.</p></sec><sec id="s5_2_4"><title>5.2.4. Model of Asynchronous Machine</title><p>The model depicted in <xref ref-type="fig" rid="fig7">Figure 7</xref> consists of an asynchronous machine block ready to use and the loop speed command of the generator based on Equation (6):</p><disp-formula id="scirp.44719-formula122068"><label>(6)</label><graphic position="anchor" xlink:href="htmlimages\6-2860021x\2a911886-5076-482a-a639-0dbb07ad49dc.png"  xlink:type="simple"/></disp-formula><p>Ideal Torque Source: the representation of the force acting on the machine.</p><p>PS-Simulink Converter: converts a physical signal into a Simulink output signal.</p><p>Solver Configuration: specifies global environment information for simulation and provides parameters for the solver that model needs before we can begin simulation.</p><p>Mechanical References: blocks represent a reference point, or frame, for all mechanical translational and rotational ports.</p></sec><sec id="s5_2_5"><title>5.2.5. Model of Turbine Protection</title><p>Protection system modeled in <xref ref-type="fig" rid="fig8">Figure 8</xref>, permits immobilizing the wind turbine when the wind reaches a certain strength or when the wind speed is below a certain value by changing the pitch angle of the blades for zero engine torque (beta = 0) (shown in <xref ref-type="fig" rid="fig9">Figure 9</xref>). Also, in case of over speed’s generator, it allows triggering the breaker in order to disconnect the wind turbine from grid (shown in <xref ref-type="fig" rid="fig1">Figure 1</xref>0) and varying the pitch angle to 0 by means of the DC motor block depicted in <xref ref-type="fig" rid="fig1">Figure 1</xref>1.</p><p>If the wind speed is less than 4 m/s or above 25 m/s for a time of 0.05 seconds, the pitch angle value switch from 10 to 0.</p><p>We switch the pitch angle to 0 and trigger the circuit breaker if the generator’s speed exceeds the rated speed by 20% for a period of 0.05 seconds.</p></sec><sec id="s5_2_6"><title>5.2.6. Model of Pitch Angle Command Block</title><p>In the block depicted in <xref ref-type="fig" rid="fig1">Figure 1</xref>1, the pitch command output of the blade protection block switches on or off the DC motor in order to vary the pitch angle by rotating the blade. In our case, to pass from beta = 10 to beta = 0, we need 0.945 s and then we stop again the motor. 0.945 s is needed because the rotation speed is equal to 30 tr/min.</p><p>1400 N.m/s is the value of the load torque represented by the weight of the blade. For our wind turbine, the weight of the nacelle and the rotor is equal to 123 tons.</p></sec><sec id="s5_2_7"><title>5.2.7. Model of Braking System Block</title><p>The block depicted in <xref ref-type="fig" rid="fig1">Figure 1</xref>2, models the hydromechanical command applied to the disc brake.</p><p>When we want to stop the wind turbine if the wind speed reaches maximum speed, the hydraulic command provides some pressure sliding thereby a cylinder which in turn pushes the plates of the disc. The other end of the disc brake is mounted on the rotor shaft.</p><p>For restarting, the input ON commands the flow of the fluid in the opposite direction. So, the double acting cylinder returns to its initial position.</p><p>The value of the applied pressure is calculated based on the following dynamic Equation (7):</p><disp-formula id="scirp.44719-formula122069"><label>(7)</label><graphic position="anchor" xlink:href="htmlimages\6-2860021x\42d46259-4562-422b-b127-d6a16d093dc8.png"  xlink:type="simple"/></disp-formula><p>ω0 is the rotational speed of rotor and S is the surface of brake pad which is equal to 1.8 m in our case.</p><p>The duration of braking is equal to 3 s, then w (t = 3) = 0.</p><p>J is the moment of inertia of the rotor. It is calculated by equating the rotor to a hollow cylinder and considering the weight equal to 56 tons.</p></sec></sec></sec><sec id="s6"><title>6. Simulation Results and Discussion</title><sec id="s6_1"><title>6.1. Mechanical Torque Applied to Blades</title><p>For a wind speed equal to 13 m/s, the mechanical torque applied to blades has the value 15.5 N.rad/s as shown</p><p>in <xref ref-type="fig" rid="fig1">Figure 1</xref>3.</p></sec><sec id="s6_2"><title>6.2. Generator Speed</title><p>As shown in <xref ref-type="fig" rid="fig1">Figure 1</xref>4, the speed of the generator is equal to the rated speed; it is obtained at the wind speed equal to 13 m/s.</p></sec><sec id="s6_3"><title>6.3. Active and Reactive Power of the Wind Turbine</title><p>As depicted in <xref ref-type="fig" rid="fig1">Figure 1</xref>5, the active power knows fluctuations in the beginning before stabilizing at the value 400 kW. These fluctuations are due to the transient period of the generator.</p></sec><sec id="s6_4"><title>6.4. Results of Simulation in Case of a Wind Speed of 27 m/s</title><p>To simulate the role of protection, we took a wind speed equal to 27 m/s. We observe that after 0.05 seconds, the voltages and currents and torque are set to 0 ( as shown in <xref ref-type="fig" rid="fig1">Figure 1</xref>6 and  <xref ref-type="fig" rid="fig1">Figure 1</xref>7) because the pitch angle and breaker command pass to 0 as shown in <xref ref-type="fig" rid="fig1">Figure 1</xref>8 and <xref ref-type="fig" rid="fig1">Figure 1</xref>9.</p><p>Then, the active and reactive powers passes to 0 at the time of switching of the generator breaker (<xref ref-type="fig" rid="fig2">Figure 2</xref>0).</p></sec><sec id="s6_5"><title>6.5. Rotor Visualization</title><p>SIMMECHANICS allows visualizing the motion of system created in Simmechanics or imported from a CAO software.</p><p>You can use this environment to validate the 3-D configuration of your model and visually analyze the behavior of your system under different conditions [<xref ref-type="bibr" rid="scirp.44719-ref15">15</xref>] .</p><p><xref ref-type="fig" rid="fig2">Figure 2</xref>1 visualizes the motion of rotor in Simmechanics.</p></sec></sec><sec id="s7"><title>7. Conclusions</title><p>In our work, we had presented the state of the art of the physical network approach, a more developed method for multiphysics and multidomain modelling than the classical method of mathematic-physical analysis. This method enables modelling realistic models and facilitates the reuse of these models.</p><p>Also, we were able to model the horizontal wind turbine and simulate this model in MATLAB/SIMSCAPE, a powerful tool for modelling physical systems.</p><p>The model developed shows how we can build component models and assemble these models into complete systems which facilitate the reuse of models in the new context.</p><p>Also, the results prove that it is possible to build and simulate physical models with simscape software.</p><p>My suggestions for further works would be the following:</p><p>1. Enrich the Simscape’s library with more blocks which cover more physical domains.</p><p>2. Build a more realistic and complex wind turbine model.</p><p>3. Develop a model of generator based on physical network approach rather than physical signal modelling.</p></sec><sec id="s8"><title>NOTES</title></sec></body><back><ref-list><title>References</title><ref id="scirp.44719-ref1"><label>1</label><mixed-citation publication-type="other" xlink:type="simple">Krasner, J. (2004) Model-Based Design and Beyond: Solutions for Today’s Embedded Systems Requirements.</mixed-citation></ref><ref id="scirp.44719-ref2"><label>2</label><mixed-citation publication-type="other" xlink:type="simple">Broman, D. (2010) Meta-Languages and Semantics for Equation-Based Modeling and Simulation.</mixed-citation></ref><ref id="scirp.44719-ref3"><label>3</label><mixed-citation publication-type="other" xlink:type="simple">Kofráne, J., Mateják, M., Privitzer, P. and Tribula, M. (2004) Causal or Acausal Modeling: Labour Ytytt for Humans or Labour for Machines. Technical Computing Prague, Conference Proceedings.</mixed-citation></ref><ref id="scirp.44719-ref4"><label>4</label><mixed-citation publication-type="other" xlink:type="simple">Popinchalk, S., Glass, J., Shenoy, R. and Aberg, R. (2007) Working in Teams: Modeling and Control Design within a Single Software Environment. AIAA Modeling and Simulation Technologies Conference and Exhibit [CD-ROM], Hilton Head, 20-23 August 2007.</mixed-citation></ref><ref id="scirp.44719-ref5"><label>5</label><mixed-citation publication-type="other" xlink:type="simple">Nage, L.W., Pederson, D.O. and SPICE (1973) Simulation Program with Integrated Circuit Emphasis. Memorandum No. ERL-M382, University of California, Berkeley.</mixed-citation></ref><ref id="scirp.44719-ref6"><label>6</label><mixed-citation publication-type="other" xlink:type="simple">Mathworks Home Page. www.mathworks.com</mixed-citation></ref><ref id="scirp.44719-ref7"><label>7</label><mixed-citation publication-type="other" xlink:type="simple">Elmqvist, H., Mattsson, S.E. and Otter, M. (1998) Modelica: The New Object-Oriented Modelling Language. The 12th European Simulation Multiconference, Manchester, 16-19 June 1998, 127-131.</mixed-citation></ref><ref id="scirp.44719-ref8"><label>8</label><mixed-citation publication-type="other" xlink:type="simple">Sjostedt, C.J. (2009) Modeling and Simulation of Physical Systems in a Mechatronic Context. Doctoral Thesis Stockholm.</mixed-citation></ref><ref id="scirp.44719-ref9"><label>9</label><mixed-citation publication-type="other" xlink:type="simple">Fernandez, J. (2013) Object-Oriented Modeling and Simulation of the Closed Loop Cardiovascular System by Using SIMSCAPE. Computers in Biology and Medicine, 43, 323-333. http://dx.doi.org/10.1016/j.compbiomed.2013.01.007</mixed-citation></ref><ref id="scirp.44719-ref10"><label>10</label><mixed-citation publication-type="other" xlink:type="simple">Jirstrand, M. and Gunnarsson, J. (1999) Math Modelica—A New Modeling and Simulation Environment for Mathematica. 3rd International Mathematica Symposium, Linz, 23-25 August 1999.</mixed-citation></ref><ref id="scirp.44719-ref11"><label>11</label><mixed-citation publication-type="other" xlink:type="simple">Dragan, P., Novak, N. and Ljubisa, D. (2012) Bond Graph Modeling in Simscape. International tyhu Journal of Mathematics and Computers in Simulation, 6, 2012.</mixed-citation></ref><ref id="scirp.44719-ref12"><label>12</label><mixed-citation publication-type="other" xlink:type="simple">Enocksson, S. (2011) Modeling in Math Works Simscape by Building a Model of an Automatic Gearbox.</mixed-citation></ref><ref id="scirp.44719-ref13"><label>13</label><mixed-citation publication-type="other" xlink:type="simple">Dubois, C. (2009) Le guide de L’éolien, techniques et pratiques.</mixed-citation></ref><ref id="scirp.44719-ref14"><label>14</label><mixed-citation publication-type="other" xlink:type="simple">Heliciel Home Page. http://www.heliciel.com/helice/helice-pas-variable.htm</mixed-citation></ref><ref id="scirp.44719-ref15"><label>15</label><mixed-citation publication-type="other" xlink:type="simple">Hamdi, N. (2008) Modélisation et commande des génératrices éoliennes.</mixed-citation></ref></ref-list></back></article>