Engineering Papers⌕ Search

SEARCH · Engineering Papers

Results for “Simulink”

Search indexed NASA NTRS and DOE OSTI research on propulsion, heat transfer, battery materials and energy systems. Follow report and document links to the original sources.

Quote a phrase for an exact phrase match. Source license links do not imply unrestricted reuse.

At least 127 records · Page 7

A Modeling Framework for Connectivity and Automation Co-simulation

This paper presents a unified modeling environment to simulate vehicle driving and powertrain operations within the context of the surrounding environment, including interactions between vehicles and between vehicles and the road. The goal of this framework is to facilitate the analysis of the energy impacts of vehicle connectivity and automation, as well as the development of eco-driving algorithms. Connectivity and automation indeed provide the potential to use information about the environment and future driving to minimize energy consumption. To achieve this goal, the designers of eco-driving control strategies need to simulate a wide range of driving situations, including the interactions with other vehicles and the infrastructure in a closed-loop fashion. The framework, called RoadRunner, extends the capability of Autonomie, a vehicle energy consumption and performance modeling platform, to simulate the longitudinal movements of one or more user-defined vehicles along a user-defined route. In the first part of the paper, we provide an overview of how the framework is organized. The route attributes (position of traffic lights, grade, etc.) can be automatically extracted from a digital map after origin and destination are provided. The user defines which vehicle models to simulate and in which order. The Simulink model is then automatically generated from the scenario description. In the second part of the paper, we present an example case of a scenario with an eco-approach, using traffic signals that provide their signal phase and timing information to the vehicle. A two-stage control algorithm inspired by the literature is implemented to adjust the vehicle’s velocity while traveling through a signalized corridor with the goal of minimizing fuel consumption. Finally, we present simulation results for speed patterns and powertrain operations in typical roads with multiple intersection, comparing the energy savings with traditional driving of unconnected vehicles.

Kim, Namdoo↗

Demonstration of a fault impact reduction control module for wind turbines

Abstract. Traditionally, wind turbines in distributed applications make control decisions as isolated systems. They generally provide maximum power output during operation and manage internal faults with little consideration of the rest of the power system. Although fault detection and tolerance schemes are widely researched and implemented, controls to ameliorate such faults are uncommon in research and industry. The rapid shutdown of a wind turbine in a large transmission-connected wind plant will have a minimal impact on a large power system, but in a microgrid or isolated grid context the abrupt loss of a single wind turbine may cause grid instability and high stress on the system. This paper demonstrates a fault impact reduction control (FIRC) module for a wind turbine, which implements wider warning thresholds around fault thresholds. When the turbine crosses a warning threshold, the controller sends its predicted action to the grid controller, which facilitates the grid operator’s response to a potential wind turbine fault and then takes appropriate action to ameliorate the fault. Various test cases demonstrate the controller action under a variety of faults, and various scenarios demonstrate the grid benefit of an FIRC in both microgrid- and grid-connected contexts. The FIRC maximizes wind turbine generation and eases generation transition under a variety of fault scenarios. The FIRC module is easy to integrate with most existing controllers, just requiring derate capability, and can be easily modified to include the various warnings and thresholds that the user desires. This analysis is mainly performed in a MATLAB-Simulink-based research wind turbine model and is also implemented in the existing LabVIEW-based controller of the same research turbine at NREL.

17 WIND ENERGY↗

Analysis of Power Electronic Solutions for Wide-Range Wave Energy Input

Wave energy is a largely untapped energy source with the potential to provide 290 TWh per year to the continental United States. As a new technology, wave energy converters are less efficient and reliable compared to established energy sources, leaving the vast energy of the sea largely unutilized. Wave energy is uniquely inconsistent, with large fluctuations. Paired with harsh operating environments and difficulty in repair, the power electronics designed to harvest wave energy need to be reliable, cost-effective, and able to work in a wide operating band. The literature on existing power electronics in wave energy converters and lessons learned across other industries provide a framework of topologies to simulate. WEC-Sim, an open-source hydrodynamic platform in MATLAB Simulink developed by the National Laboratory of the Rockies, was used to simulate a wide range of power electronics under a variety of wave conditions. This paper provides a comprehensive investigation into existing wave energy power electronics converters, state-of-the-art topologies that can be applied to wave energy, and novel solutions to wave conversion.

16 TIDAL AND WAVE POWER↗

PhotoVoltaic distributed generation for Lanai power grid real-time simulation and control integration scenario.

This paper discusses the modeling, analysis, and testing in a real-time simulation environment of the Lanai power grid system for the integration and control of PhotoVoltaic (PV) distributed generation. The Lanai Island in Hawaii is part of the Hawaii Clean Energy Initiative (HCEI) to transition to 30% renewable green energy penetration by 2030. In Lanai the primary loads come from two Castle and Cook Resorts, in addition to residential needs. The total peak load profile is 12470 V, 5.5 MW. Currently there are several diesel generators that meet these loading requirements. As part of the HCEI, Lanai has initially installed 1.2 MW of PV generation. The goal of this study has been to evaluate the impact of the PV with respect to the conventional carbon-based diesel generation in real time simulation. For intermittent PV distributed generation, the overall stability and transient responses are investigated. A simple Lanai 'like' model has been developed in the Matlab/Simulink environment (see Fig. 1) and to accommodate real-time simulation of the hybrid power grid system the Opal-RT Technologies RT-Lab environment is used. The diesel generators have been modelled using the SimPowerSystems toolbox swing equations and a custom Simulink module has been developed for the High level PV generation. All of the loads have been characterized primarily as distribution lines with series resistive load banks with one VAR load bank. Three-phase faults are implemented for each bus. Both conventional and advanced control architectures will be used to evaluate the integration of the PV onto the current power grid system. The baseline numerical results include the stable performance of the power grid during varying cloud cover (PV generation ramping up/down) scenarios. The importance of assessing the real-time scenario is included.

24 POWER TRANSMISSION AND DISTRIBUTION↗

Co-Simulation of Building Energy and Control Systems with the Building Controls Virtual Test Bed

This article describes the implementation of the Building Controls Virtual Test Bed (BCVTB). The BCVTB is a software environment that allows connecting different simulation programs to exchange data during the time integration, and that allows conducting hardware in the loop simulation. The software architecture is a modular design based on Ptolemy II, a software environment for design and analysis of heterogeneous systems. Ptolemy II provides a graphical model building environment, synchronizes the exchanged data and visualizes the system evolution during run-time. The BCVTB provides additions to Ptolemy II that allow the run-time coupling of different simulation programs for data exchange, including EnergyPlus, MATLAB, Simulink and the Modelica modelling and simulation environment Dymola. The additions also allow executing system commands, such as a script that executes a Radiance simulation. In this article, the software architecture is presented and the mathematical model used to implement the co-simulation is discussed. The simulation program interface that the BCVTB provides is explained. The article concludes by presenting applications in which different state of the art simulation programs are linked for run-time data exchange. This link allows the use of the simulation program that is best suited for the particular problem to model building heat transfer, HVAC system dynamics and control algorithms, and to compute a solution to the coupled problem using co-simulation.

29 ENERGY PLANNING, POLICY, AND ECONOMY↗

Development of Tritium Permeation Analysis Code (TPAC)

Idaho National Laboratory developed the Tritium Permeation Analysis Code (TPAC) for tritium permeation in the Very High Temperature Gas Cooled Reactor (VHTR). All the component models in the VHTR were developed and were embedded into the MATHLAB SIMULINK package with a Graphic User Interface. The governing equations of the nuclear ternary reaction and thermal neutron capture reactions from impurities in helium and graphite core, reflector, and control rods were implemented. The TPAC code was verified using analytical solutions for the tritium birth rate from the ternary fission, the birth rate from 3He, and the birth rate from 10B. This paper also provides comparisons of the TPAC with the existing other codes. A VHTR reference design was selected for tritium permeation study from the reference design to the nuclear-assisted hydrogen production plant and some sensitivity study results are presented based on the HTGR outlet temperature of 750 degrees C.

99 GENERAL AND MISCELLANEOUS↗

Wireless Communication for Controlling Microgrids: Co-simulation and Performance Evaluation

A microgrid with wireless communication links for microgrid control has been designed and developed. The complete simulation model has been developed in MatLab SimuLink with seamless integration of the power subsystem and the communication subsystem. Unlike the conventional co-simulators that usually glue two existing simulators together by creating an interface, which has a steep learning curve, the proposed simulator is a compact single-unit model. Detailed modeling of the power subsystem and communication system is presented as well as the microgrid control architecture and strategies. The impact of different communication system performances on microgrid control has been studied and evaluated in the proposed simulator.

Mao, Rukun↗

Significance of Dynamic and Transient Analysis in the Design and Operation of Hybrid Energy Systems

Energy systems were historically designed and operated with a specific energy conversion objective, while managing loads and resources. In the recent years, the increased utilization of non-dispatchable renewable sources such as wind and solar has played a role in power quality and the reliability of power systems. In order to mitigate the risk associated with the non-dispatchable resources an integrated approach, such as Hybrid Energy Systems (HES), has to be taken, integrating the loads and resource management between the traditional thermal power plants and the non-dispatchable resources. As our electric energy becomes more diverse in its generation resources, the HES with its operational control system, its real-time view and its dynamic decisions making will become an essential part of the integrated energy systems and improve the overall grid reliability. The operational constraints of the energy sources on both the thermal power plants and the non-dispatchable resources in HES, plays a vital role in the planning and design stage. It is an established fact that the choice of energy source depends on the available natural resources and possible infrastructure. A critical component of decision-making depends on the complementary nature and controllability of the energy sources to supply the load demands with high reliability. Controllability of complex HES to achieve desired performance and flexibility is implemented via coordinated control systems while simultaneously generating electricity and other useful products such as useful heat or hydrogen. These systems are based on instrumentation, signal processing, control theory, and engineering system design. The entire HES along with the control systems are characterized by widely varying time constants. Hence, for a well-coordinated control and operation, we propose physics based modeling of the subsystems to assist in a dynamic and transient analysis. Dynamic and transient analysis in real and non-real time domain of the potential sources is capable of providing satisfactory results at the feasibility analysis stage. A simplified HES consisting of complementary energy sources is used to demonstrate the proposed approach. Suitable real time simulations to perform dynamic and transient analysis will be performed to verify results from the non-real time analysis. The role of such analyses, especially the real time dynamic and transient analysis for manual controls is elaborated. It is also discussed that faster than real time simulation will pave the future for controller rooms and hence manual control procedures. Multiple tools such as Real Time Simulator, Matlab®, Simulink®, PSCAD®, MOOSE, etc. are expected to be used for the HES analysis.

24 POWER TRANSMISSION AND DISTRIBUTION↗

OPNET/Simulink Based Testbed for Disturbance Detection in the Smart Grid

The important backbone of the smart grid is the cyber/information infrastructure, which is primarily used to communicate with different grid components. A smart grid is a complex cyber physical system containing a numerous and variety number of sources, devices, controllers and loads. Therefore, the smart grid is vulnerable to grid related disturbances. For such dynamic system, disturbance and intrusion detection is a paramount issue. This paper presents a Simulink and Opnet based co-simulated platform to carry out a cyber-intrusion in cyber network for modern power systems and the smart grid. The IEEE 30 bus power system model is used to demonstrate the effectiveness of the simulated testbed. The experiments were performed by disturbing the circuit breakers reclosing time through a cyber-attack. Different disturbance situations in the considered test system are considered and the results indicate the effectiveness of the proposed co-simulated scheme.

Cyber Attacks↗

RPCSIM-SCO2 (Reactor Power and Control SIMulator for Supercritical CO2)

The RPCSIM-SCO2 code performs a dynamic simulation of a supercritical CO2 (carbon dioxide) Brayton cycle loop. The code is based on the MathLabTM program SimulinkTM from Mathworks. The Supercritical CO2 (S-CO2) model uses direct calls to the National Institute of Standards Refprop 9.0 Fortran library for the Equation-of-State (EOS) model for the CO2 working fluid (Lemmon, 2010). The calls to Refprop are made in the form of Simulink s-Functions that use a C interface to directly call the compiled Refprop fortran program library functions. Minor changes to the code can be made to use other working fluids. The code is intended to be used to perform many different types of dynamic cycle analysis for supercritical CO2 power producing systems. The code will calculate the transient temperature and pressure and all other thermodynamic properties at the inlet and outlet of each component given user supplied inputs such as rotor shaft speed, and heater power.

Wright, Steven A.↗

Thermal Storage System for Electric Vehicle Cabin Heating Component and System Analysis

Cabin heating of current electric vehicle (EV) designs is typically provided using electrical energy from the traction battery, since waste heat is not available from an engine as in the case of a conventional automobile. In very cold climatic conditions, the power required for space heating of an EV can be of a similar magnitude to that required for propulsion of the vehicle. As a result, its driving range can be reduced very significantly during the winter season, which limits consumer acceptance of EVs and results in increased battery costs to achieve a minimum range while ensuring comfort to the EV driver. To minimize the range penalty associated with EV cabin heating, a novel climate control system that includes thermal energy storage from an advanced phase change material (PCM) has been designed for use in EVs and plug-in hybrid electric vehicles (PHEVs). The present paper focuses on the modeling and analysis of this electrical PCM-Assisted Thermal Heating System (ePATHS) and is a companion to the paper Design and Testing of a Thermal Storage System for Electric Vehicle Cabin Heating. A detailed heat transfer model was developed to simulate the PCM heat exchanger that is at the heart of the ePATHS and was subsequently used to analyze and optimize its design. The results from this analysis were integrated into a MATLAB Simulink system model to simulate the fluid flow, pressure drop and heat transfer in all components of the ePATHS. The system model was then used to predict the performance of the climate control system in the vehicle and to evaluate control strategies needed to achieve the desired temperature control in the cabin. The analysis performed to design the ePATHS is described in detail and the system s predicted performance in a vehicle HVAC system is presented.

cabin heating↗

Real-Time Digital Simulation of Inertial Response with Hardware-in-the-Loop Implementation on the CART3 Wind Turbine at the National Wind Technology Center

With increasing penetrations of wind power on electric grids, the stability and reliability of interconnected power systems may be impacted. In some countries that have developed renewable energy sources and systems, grid codes have been revised to require wind power plants (WPPs) to provide ancillary services to support the power system frequency in case of severe grid events. To do this, wind turbine generators (WTGs) should be deloaded to reserve a certain amount of active power for primary frequency response; however, deloading curtails annual energy production, and the market for this type of service needs to be further developed. In this report, we focus on the temporary frequency support provided by WTGs through inertial response. WTGs have potential to provide inertial response, but appropriate control methods should be implemented. With the implemented inertial control methods, wind turbines are capable of increasing their active power output by releasing some of their stored kinetic energy when a frequency excursion occurs. Active power can be temporarily boosted above the maximum power points, after which the rotor speed decelerates, and subsequently an active power output reduction restores the kinetic energy. In this report, we develop two types of models for wind power systems: the first is common, based on the wind power aerodynamic equation, and the power coefficient can be regressed using nonlinear functions; the second is much more complicated, wherein the wind turbine system is modeled using the Fatigue, Aerodynamics, Structures, and Turbulence Modeling (FAST) tool with several degrees of freedoms. A nine-bus test power system is built in Simulink and the Real-Time Digital Simulator, respectively, which are used to evaluate the frequency support performance of the WPPs. We implement two distinct types of inertial control methods in the modeled wind turbines: frequency-based inertial control (FBIC) and stepwise inertial control (SIC). We compare the performances of the two methods in terms of their frequency nadirs, rates of change of frequency, and recovery times. We conclude the results under various wind speeds and penetration cases, which provide insight into designing the inertial response of WTGs. Further, we discuss the impact of the parameters on the performance of the inertial control methods. We evaluate both the scaling factors for the FBIC method and the slope values for the TLIC methods. The simulation work shows the characteristics of different inertial responses compared to conventional synchronous generators. Based on the simulation results, we modify, improve, and test the inertial control methods under a more realistic wind turbine model based on FAST. We then validate the inertial responses under highly turbulent wind conditions generated by TurbSim, and we examine their influences on the turbine mechanical components. The extensive simulation proves the effectiveness of the proposed inertial control methods as well as the nine-bus test power system. We then reconsider the parameters. We rebuild the same test power system using Real time Simulator Computer Aided Design (RSCAD), and we implement the inertial control methods in the real Controls Advanced Research Turbine (CART3), which is prepared for the hardware-in-the-loop field-test simulation. After the setups for the hardware and software hybrid simulation platform are complete, the inertial response is further tested on a real wind turbine for the first time, in which CART3 release the controlled inertial response against the emulated frequency excursion, provided by the real-time simulated power system test bed in RTDS.

17 WIND ENERGY↗

Deeply Integrated Vehicle Dynamic and Powertrain Operation for Efficient Plug-in Hybrid Electric Bus

The emerging connected and automated vehicle (CAV) technology has opened the door for developing innovative applications and systems to improve vehicle energy efficiency. While most of the recent research has been focused on optimizing vehicle dynamic (VD) and powertrain (PT) operation in isolation, there exists untapped potential to further improve vehicle fuel efficiency through a co-optimization of VD&PT control. In this paper, the authors develop an eco-operation solution for a plug-in hybrid electric bus (PHEB) which seamlessly integrates state-of-the-art CAV applications with advanced powertrain optimization strategies, aiming at improving vehicle energy efficiency and reducing tailpipe emissions. The proposed eco-operation system have 6 components, including traffic/signal timing information acquirement, information integration, scenario identification, powertrain, trajectory planning and a MATLAB/Simulink model for validation and fine-tuning. A deeply integrated vehicle dynamic and powertrain control algorithm is proposed in the paper to optimize the energy-efficiency. Based on the key logic of powertrain control strategy of PHEB, the authors develop a simplified PHEB powertrain model, and put it into their graph based optimization model as the edge cost to derive the optimal speed profile, which is further fine-tuned in the Simulink model. The proposed mode is validated in multiple numerical tests under Eco-Approach and Departure, Eco-Stop and Launch and Eco-Cruise scenarios, and shows significant performance (above 20%) in energy-saving.

Hao, Peng↗

Blockchain-Enabled Cyber-Secure Microgrid Control Using Consensus Algorithm: Preprint

This paper proposes a distributed control method based on a consensus algorithm for distributed energy resources (DERs) using blockchain as a secure communication medium for cyber resilience. Each DER communicates with a local blockchain server that is maintained by the distributed ledger technology to allow for securely sharing local measurements among neighboring assets to achieve the global control objectives, i.e., voltage and frequency regulation as well as accurate power sharing among the DERs, including collective grid-forming capability. To prove that the distributed control can retain system stability under a blockchain-induced variable communication delay, Lyapunov function-based stability analysis is carried out. This paper demonstrates the concept on an 11-bus test case developed in MATLAB Simulink, which has been modified from the IEEE 9-bus test case, to study dynamic operations of the five inverter-based DERs working with a blockchain-induced variable delay. The results validate the superior performance of the proposed control method, compared to heavily compromised operations of the other test cases without the security measure, affected by heavy communication delays and communication interruptions.

blockchain↗

Recent Developments in the WEC-Sim Open-Source Design Tool: Preprint

WEC-Sim (Wave Energy Converter SIMulator) is an open-source code for simulating wave energy converters, which has been actively developed and applied to simulate a wide variety of device archetypes and has become a popular tool since its initial release in 2014. WEC-Sim is developed jointly by the National Renewable Energy Laboratory (NREL) and Sandia National Laboratories (SNL) within the MATLAB/SIMULINK environment. Figure 1 illustrates a general wave-to-wire model which begins with a deployment site resource characterization, which is used to complete the hydrodynamic simulation of a single WEC (or array), with the power generation profile imported to a grid simulator to understand the influence on the local electrical network. While modelling the entire wave-to-wire is difficult and encompass multiple time scales and physics, WEC-Sim is focused on the hydrodynamics simulation to predict, analyze and optimize WEC dynamics and power performance. WEC-Sim simulations are performed in the time domain based on the radiation and diffraction method using hydrodynamics coefficients derived from boundary element method (BEM) based-frequency-domain potential flow solvers (e.g., WAMIT, NEMOH, Capytaine, or ANSYS-AQWA). Within this level of modeling fidelity, WEC-Sim can handle floating body hydrodynamics, mechanical and electrical power generation methods, advanced control implementation, mooring systems, and other unique applications such as desalination. Table 1 lists additional WEC-Sim functionalities, which are created using prebuilt Simulink blocks and MATLAB scripts that can simulate a wide range of floating systems and the corresponding auxiliary subsystems.

hydrodynamics modeling↗

Assessment of the Phase-to-Ground Fault Apparent Admittance Method with Phase/Ground Boundaries to Detect Types of Electrical Faults for Protective Relays Using Signature Library and Simulated Events

Protective relays in electric power grids recognize the types of electrical faults in a few seconds. The most common detection method to detect the types of electrical faults is based on measuring the angle between the zero and negative sequence currents. However, it is not completely accurate because the phase to phase ground and phase to ground electrical faults could have the same detection conditions. Therefore, engineers need to plot the events after an electrical fault to observe the nature of the incidents in detail. In this study, the phase to ground fault apparent (PGFA) admittance method with phase/ground boundaries identified the types of electrical faults located in distribution power lines and feeders. This method was based on measuring the PGFA admittance magnitudes for the faulted and non-faulted phases, resulting in greater than zero and near zero, respectively. The PGFA admittance algorithm was built with MATLAB/ Simulink software and tested with signature library and grid simulation events. The PGFA method with phase/ground boundaries was evaluated with the confusion matrix. The measured and predicted values matched in more than 90% of the tests, and the PGFA admittance method with phase/ground boundaries presented an accuracy of 94.3% and a precision of 100%.

Piesciorovsky, Emilio↗

Advanced Features and Recent Developments in the WEC-Sim Open-Source Design Tool: Preprint

WEC-Sim is an open-source tool developed in Matlab/Simulink to simulate wave energy converters. WEC-Sim has been developed jointly by the National Renewable Energy Laboratory (NREL) and Sandia National Laboratories (SNL) since its initial release in 2014. WEC-Sim simulations are performed in the time domain based on the radiation and diffraction method using hydrodynamics coefficients derived from boundary element method (BEM)-based frequency-domain potential flow solvers (e.g., WAMIT, NEMOH, Capytaine, or ANSYS-AQWA). Within this level of modeling fidelity, WEC-Sim can handle floating body hydrodynamics, mechanical and electrical power generation methods, advanced control implementation, mooring systems, and other unique applications such as desalination. WEC-Sim functionalities are developed using Simulink blocks and Matlab functions. WEC-Sim is capabilities include simulation of different wave conditions, constraints and PTOs, body dynamics, mooring systems, among other advanced features such as nonlinear hydrodynamics, nonlinear PTOs, body-to-body interactions, etc.

hydrodynamics modeling↗

The Safe Guards Analysis Toolbox for Non-Proliferation Modeling

As nuclear technology becomes more widely available outside of nuclear weapon armed nations, the importance of preventing the illicit development of nuclear weapons has increased dramatically. A system of nuclear safeguards prevents proliferation; stopping the diversion of nuclear material from civilian facilities for the construction of nuclear weapons. These safeguards function through a combination of accountancy measurements that confirm the locations and amounts of nuclear material, and physical security at every nuclear facility. Safeguards Analysis (SGA) is a computational tool-kit developed using the MATLAB Simulink software suite that simulates a system of nuclear safeguards. The code allows users to examine current safeguards systems for weaknesses and to pinpoint the best locations for improvement. Developed as a modular framework, SGA does not directly model material flows, and relies on an outside code for this information. Instead, it represents a series of safeguards measurements that represent the values inspectors would see. Furthermore, SGA is designed to be modular in design, allowing the user to construct as complex or simple a model as needed: simulating an entire fuel-cycle comprising multiple facilities to a single measurement. SGA's use of outside codes for its material flow information makes it applicable to any model available to the user, as opposed to previous work that applied only to a single scenario. This paper discusses the initial development of SGA and the testing of these modules. The tests described in this paper demonstrate that the different pieces of SGA currently work as intended. Future work on the toolbox will develop and test SGA against a more realistic and complicated scenario using the various tools available in SGA. SGA currently has the pieces to perform analysis on safeguards systems, but needs to be tested on large, multi-MBA, systems to ensure the code is capable of handling such large models, to see the effect large models have on calculation speed, and if further work is needed to improve code efficiency. (authors)

97 MATHEMATICS AND COMPUTING↗