393 research outputs found
Python-Modelica framework for automated simulation and optimization
Modeling and simulation are essential for the development of complex engineering systems, such as wind turbines. Thus, Fraunhofer IWES (Fraunhofer Institute for Wind Energy Systems) has developed the MoWiT (Modelica for Wind Turbines) library for fully-coupled aero-hydro-servo-elastic simulations of wind turbine systems. To meet the needs for detailed assessment and design development of such sophisticated engineering systems, which imply iterative steps for design optimization, a Python-Modelica framework is set up and presented in this paper. By means of this, the simulation of MoWiT models can easily be managed, including redefinition of model parameters, specification of output sensors and simulation settings, integration of optimization algorithms, post-processing of simulation results, as well as parallel execution of several simulations. The application of this Python-Modelica framework is shown based on the example of a design optimization task of a floating wind turbine support structure
Recommended from our members
An assessment of the load modifying potential of model predictive controlled dynamic facades within the California context
California is making major strides towards meeting its greenhouse gas emission reduction goals with the transformation of its electrical grid to accommodate renewable generation, aggressive promotion of building energy efficiency, and increased emphasis on moving toward electrification of end uses (e.g., residential heating, etc.). As a result of this activity, the State is faced with significant challenges of systemwide resource adequacy, power quality and grid reliability that could be addressed in part with demand responsive (DR) load modifying strategies using controllable building technologies. Dynamic facades have the ability to potentially shift and shed loads at critical times of the day in combination with daylighting and HVAC controls. This study explores the technical potential of dynamic facades to support net load shape objectives. A model predictive controller (MPC) was designed based on reduced order thermal (Modelica) and window (Radiance) models. Using an automated workflow (involving JModelica.org and MPCPy), these models were converted and differentiated to formulate a non-linear optimization problem. A gradient-based, non-linear programming problem solver (IPOPT) was used to derive an optimal control strategy, then a post-optimization step was used to convert the solution to a discrete state for facade actuation. Continuous state modulation of the façade was also modeled. The performance of the MPC controller with and without activation of thermal mass was evaluated in a south-facing perimeter office zone with a three-zone electrochromic window for a clear sunny week during summer and winter periods in Oakland and Burbank, California. MPC strategies reduced total energy cost by 9–28% and critical coincident peak demand was reduced by up to 0.58 W/ft2-floor or 19–43% in the 4.6 m (15 ft) deep south zone on sunny summer days in Oakland compared to state-of-the-art heuristic control. Similar savings were achieved for the hotter, Burbank climate in Southern California. This outcome supports the argument that MPC control of dynamic facades can provide significant electricity cost reductions and net load management capabilities of benefit to both the building owner and evolving electrical grid
Recommended from our members
Integrated Dynamic Facade Control with an Agent-based Architecture for Commercial Buildings
Dynamic façades have significant technical potential to minimize heating, cooling, and lighting energy use and peak electric demand in the perimeter zone of commercial buildings, but the performance of these systems is reliant on being able to balance complex trade-offs between solar control, daylight admission, comfort, and view over the life of the installation. As the context for controllable energy-efficiency technologies grows more complex with the increased use of intermittent renewable energy resources on the grid, it has become increasingly important to look ahead towards more advanced approaches to integrated systems control in order to achieve optimum life-cycle performance at a lower cost. This study examines the feasibility of a model predictive control system for low-cost autonomous dynamic façades. A system architecture designed around lightweight, simple agents is proposed. The architecture accommodates whole building and grid level demands through its modular, hierarchical approach. Automatically-generated models for computing window heat gains, daylight illuminance, and discomfort glare are described. The open source Modelica and JModelica software tools were used to determine the optimum state of control given inputs of window heat gains and lighting loads for a 24-hour optimization horizon. Penalty functions for glare and view/ daylight quality were implemented as constraints. The control system was tested on a low-power controller (1.4 GHz single core with 2 GB of RAM) to evaluate feasibility. The target platform is a low-cost ($35/unit) embedded controller with 1.2 GHz dual-core cpu and 1 GB of RAM. Configuration and commissioning of the curtainwall unit was designed to be largely plug and play with minimal inputs required by the manufacturer through a web-based user interface. An example application was used to demonstrate optimal control of a three-zone electrochromic window for a south-facing zone. The overall approach was deemed to be promising. Further engineering is required to enable scalable, turnkey solutions
Optimisation Of Controller Parameters For Adaptive Building Envelopes Through A Co-Simulation Interface: A Case Study
Adaptive building envelopes can dynamically adapt to
environmental changes, often supported by a control
system. While building performance simulation (BPS)
tools can be employed to test different design alternatives,
representing control strategies within current BPS tools
can be challenging, especially for systems with a fast,
dynamic response. Another challenge in current BPS
tools is the ability to tune and select parameters for the particular use case. In this study, a modelling approach is presented for the integrated analysis of control strategies of adaptive building envelopes linking thermal performance and control with an optimisation algorithm.
The proposed modelling approach was evaluated using a
case study with an automated motorised blind with two
distinct control strategies. Simulation results suggest that
the window heat gains were 72.7 % lower when the
controller model was coupled with an optimiser to
identify optimised controller parameters compared to a
baseline control strategy. The results of this study are
suggestive of the benefits that can be obtained from
adjusting the dynamic aspects of the building envelope.
The results support the thesis of using optimisation as
standard building envelope design practice in the future
An optimization-based approach to automated design
We propose a model-based, automated, bottom-up approach for design, which is
applicable to various physical domains, but in this work we focus on the
electrical domain. This bottom-up approach is based on a meta-topology in which
each link is described by a universal component that can be instantiated as
basic components (e.g., resistors, capacitors) or combinations of basic
components via discrete switches. To address the combinatorial explosion often
present in mixed-integer optimization problems, we present two algorithms. In
the first algorithm, we convert the discrete switches into continuous switches
that are physically realizable and formulate a parameter optimization problem
that learns the component and switch parameters while inducing design sparsity
through an regularization term. The second algorithm uses a genetic-like
approach with selection and mutation steps guided by ranking of requirements
costs, combined with continuous optimization for generating optimal parameters.
We improve the time complexity of the optimization problem in both algorithms
by reconstructing the model when components become redundant and by simplifying
topologies through collapsing components and removing disconnected ones. To
demonstrate the efficacy of these algorithms, we apply them to the design of
various electrical circuits
Recommended from our members
Prototyping the BOPTEST framework for simulation-based testing of advanced control strategies in buildings
Advanced control strategies are becoming increasingly necessary in buildings in order to meet and balance requirements for energy efficiency, demand flexibility, and occupant comfort. Additional development and widespread adoption of emerging control strategies, however, ultimately require low implementation costs to reduce payback period and verified performance to gain control vendor, building owner, and operator trust. This is difficult in an already first-cost driven and risk-averse industry. Recent innovations in building simulation can significantly aid in meeting these requirements and spurring innovation at early stages of development by evaluating performance, comparing state-of-the-art to new strategies, providing installation experience, and testing controller implementations. This paper presents the development of a simulation framework consisting of test cases and software platform for the testing of advanced control strategies (BOPTEST - Building Optimization Performance Test). The objectives and requirements of the framework, components of a test case, and proposed software platform architecture are described, and the framework is demonstrated with a prototype implementation and example test case
- …