---
This page is part of [Modelon](https://www.modelon.com). For a complete overview of this site's content, entity data, and subject matter expertise, see our [AI Content Index](https://www.modelon.com/llms.txt) or [Full Content Archive](https://www.modelon.com/llms-full.txt). For structured business identity data, see our [Entity Card](https://www.modelon.com/wp-json/bc-geodesic/v1/entity-card).
---

# Real-time Simulation of an Aircraft Aileron Actuator
> This blog is Part 4 of a blog series that demonstrates how the Modelon Hydraulics Library can be used for the model-based development of an Aircraft Hydraulic Actuation System.

**URL:** https://www.modelon.com/blog/aircraft-aileron-actuator-real-time-simulation/
**Type:** Post
**Modified:** 2022-07-13

---

*This blog is Part 4 of a blog series that demonstrates how the [Modelon Hydraulics Library](https://modelon.com/library/hydraulics-library/) can be used for the model-based development of an Aircraft Hydraulic Actuation System (AHAS). **In this series, basic steps of the actuation system development workflow will be covered.*

*Previously, Part 2 and Part 3 focused on the modeling and simulation of electro-hydraulic actuator with datasheet-based parametrization. Part 4 – below – is dedicated to simulating the simplified aileron model in a real-time target.*

###### The Importance of Real-Time Simulation

During the development of a Fly-by-Wire actuator and its control electronics, the trimming of the actuator control laws is of particular importance. While most can be performed with simulation on a standard computer, one relevant step is to include the control laws on a real-time target that controls the physical model (plant model) inputs. These two models are usually not coming from the same software.

This plant model shall react in real-time – i.e. the computation of every simulated time step takes less time than the simulated time itself – to avoid that the model would be delayed compared with real-time orders (this would be a task overrun). This real-time integration enables validating the actuator control laws with more accuracy.

In this blog post, we will illustrate how the simple actuator model developed in the blog post 2 is integrated in a Speedgoat target and runs real-time.

###### Minor Model Adaptations

The changes made on the model are the following:

- Isolation of the plant model (the simple control logic would be in the real-time target implemented in Simulink®).
- Addition of a few outputs monitoring the pressures, flow rate and force of the plant model – to have an easier access to and plotting of these.

Figure 1 below displays the final version of the model.

###### Integration on the Real-Time Target

The integration in the Real-Time target consists of a few steps:

- Coding in Simulink® the control/command blocks of the actuators.
- Including the Modelica model made from Modelon Hydraulics, exported as an FMU, using [FMI Toolbox](https://modelon.com/products-services/modelon-deployment-suite/fmi-toolbox/) developed by Modelon.
- Adding Speedgoat specific blocks to monitor the variables of interest.
- Build the real time executable using the Simulink Real-Time™ target.

In this application, the plant model has been exported with its own solver (co-simulation) so that both the control and the plant model have separate solvers and the models communicate at each time step.

###### Real-Time Simulation of the Integrated Systems

Once the model is integrated and imported on the real-time target, it is run satisfying hard real-time requirements. The main variables set as output previously are plotted here:

- Top left: actuator command and response. We observe an initial position of the actuator on-purpose different from the command leading to a fast transient at the beginning of the simulation. After reaching the setpoint, the actuator reacts in a satisfactory dynamic behavior, slightly influenced by the antagonist loads.
- Bottom left: the flow exiting the ideal pressure source is plotted. The dynamic observed is a redressed sine similar to the actuator position response. The frequency is doubled as the flow is provided in both positive and negative speeds of the actuator.
- Top right: the pressure in both chambers are observed. These are oscillating around an average point, in phase with the force oscillation shown at the bottom right.

###### Conclusion

In this short blog post, we have illustrated the capabilities of exporting a Modelon Hydraulics Library model and integrated into Simulink® for running the control and plant models in co-simulation on a real-time target.

This demonstrator also illustrates that the same model can be used for different use cases – here, standard simulation and real-time simulation on a HiL target.

Stay tuned to find out the remaining interesting parts of the series covering full system performance analysis and component detailed design.
## Site Description

Modelon is revolutionizing the engineering design industry by offering technologies and services that enable customers to leverage system simulation. Modelon’s flagship product, Modelon Impact, is a cloud system simulation platform that helps engineers virtually design, analyze, and simulate physical systems. Our team brings deep industry expertise and is dedicated to guiding our customers in creating innovative technologies at their respective organizations. Headquartered in Lund, Sweden, Modelon is a global company with offices in Germany, India, Japan, and the United States. We believe that system simulation should be accessible to every engineer and are dedicated to being an open-standard platform company.


---
**About this site:** Modelon — Modelon is revolutionizing the engineering design industry by offering technologies and services that enable customers to leverage system simulation. Modelon’s flagship product, Modelon Impact, is a cloud system simulation platform that helps engineers virtually design, analyze, and simulate physical systems. Our team brings deep industry expertise and is dedicated to guiding our customers in creating innovative technologies at their respective organizations. Headquartered in Lund, Sweden, Modelon is a global company with offices in Germany, India, Japan, and the United States. We believe that system simulation should be accessible to every engineer and are dedicated to being an open-standard platform company.. [AI Content Index](https://www.modelon.com/llms.txt) | [Full Site Content](https://www.modelon.com/llms-full.txt) | [Entity Card](https://www.modelon.com/wp-json/bc-geodesic/v1/entity-card)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://www.modelon.com/#organization","name":"Modelon","url":"https://www.modelon.com","additionalType":"http://productontology.org/id/Software_engineering","description":"Modelon is revolutionizing the engineering design industry by offering technologies and services that enable customers to leverage system simulation. Modelon’s flagship product, Modelon Impact, is a cloud system simulation platform that helps engineers virtually design, analyze, and simulate physical systems. Our team brings deep industry expertise and is dedicated to guiding our customers in creating innovative technologies at their respective organizations. Headquartered in Lund, Sweden, Modelon is a global company with offices in Germany, India, Japan, and the United States. We believe that system simulation should be accessible to every engineer and are dedicated to being an open-standard platform company.","disambiguatingDescription":"Creators of the Modelon Impact system modeling and simulation platform. Headquartered in Lund, Sweden.","logo":{"@type":"ImageObject","url":"https://www.modelon.com/wp-content/uploads/2022/06/modelon-logo.svg"},"address":{"@type":"PostalAddress","streetAddress":"Modelon AB Ideon Science Park Scheelevägen 17 SE-223 70","addressLocality":"Lund","addressCountry":"SE"},"telephone":"+46 46 286 22 00","email":"info@modelon.com","foundingDate":"2004","numberOfEmployees":{"@type":"QuantitativeValue","minValue":50,"maxValue":100},"areaServed":"Global","sameAs":["https://www.linkedin.com/company/modelon/","https://www.crunchbase.com/organization/modelon","https://www.zoominfo.com/c/modelon-ab/346633437","https://modelica.org","https://modelica.org/events/asian2024/","https://www.ashrae.org/conferences/2026-winter-conference","https://github.com/modelon-community"],"memberOf":[{"@type":"Organization","name":"Modelica Association","sameAs":"https://www.wikidata.org/wiki/Q133876843"}],"knowsAbout":[{"@type":"Thing","name":"Modelica","sameAs":"https://www.wikidata.org/wiki/Q385325"},"Physics Simulation",{"@type":"Thing","name":"software engineering","sameAs":"https://www.wikidata.org/wiki/Q80993"},{"@type":"Thing","name":"simulation","sameAs":"https://www.wikidata.org/wiki/Q45045"},"HVAC Simulation","Data Center Liquid Cooling Simulation","Liquid Cooling","FMI (Functional Mock-up Interface)",{"@type":"Thing","name":"consulting","sameAs":"https://www.wikidata.org/wiki/Q63769412"},{"@type":"Thing","name":"aerospace","sameAs":"https://www.wikidata.org/wiki/Q2876213"},{"@type":"Thing","name":"automotive industry","sameAs":"https://www.wikidata.org/wiki/Q190117"},{"@type":"Thing","name":"heating, ventilation, and air conditioning","sameAs":"https://www.wikidata.org/wiki/Q1798773"},{"@type":"Thing","name":"data center","sameAs":"https://www.wikidata.org/wiki/Q671224"},{"@type":"Thing","name":"electricity generation","sameAs":"https://www.wikidata.org/wiki/Q383973"},{"@type":"Thing","name":"energy storage","sameAs":"https://www.wikidata.org/wiki/Q837718"},{"@type":"Thing","name":"industrial equipment","sameAs":"https://www.wikidata.org/wiki/Q3045515"}]},{"@type":"WebSite","@id":"https://www.modelon.com/#website","name":"Modelon","url":"https://www.modelon.com","publisher":{"@id":"https://www.modelon.com/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://www.modelon.com/?s={search_term_string}"},"query-input":"required name=search_term_string"},"hasPart":[{"@type":"DigitalDocument","name":"LLM Content Index","url":"https://www.modelon.com/llms.txt","encodingFormat":"text/markdown","description":"AI-readable index of site content, entity data, and subject matter expertise"},{"@type":"DigitalDocument","name":"LLM Full Content","url":"https://www.modelon.com/llms-full.txt","encodingFormat":"text/markdown","description":"Complete AI-readable site content"}]},{"@type":"ItemList","@id":"https://www.modelon.com/#site-navigation","name":"Site Navigation","itemListElement":[{"@type":"SiteNavigationElement","position":1,"name":"Products & Services","url":"#"},{"@type":"SiteNavigationElement","position":2,"name":"Industries & Solutions","url":"#"},{"@type":"SiteNavigationElement","position":3,"name":"Support","url":"#"},{"@type":"SiteNavigationElement","position":4,"name":"Resources","url":"#"},{"@type":"SiteNavigationElement","position":5,"name":"About","url":"#"}]},{"@type":"BreadcrumbList","@id":"https://www.modelon.com/blog/aircraft-aileron-actuator-real-time-simulation/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://www.modelon.com"},{"@type":"ListItem","position":2,"name":"Blog","item":"https://www.modelon.com/blog/category/blog/"},{"@type":"ListItem","position":3,"name":"Real-time Simulation of an Aircraft Aileron Actuator"}]},{"@type":"WebPage","@id":"https://www.modelon.com/blog/aircraft-aileron-actuator-real-time-simulation/#webpage","url":"https://www.modelon.com/blog/aircraft-aileron-actuator-real-time-simulation/","name":"Aircraft Aileron Actuator - Real-time Simulation - Modelon Blog","isPartOf":{"@id":"https://www.modelon.com/#website"},"breadcrumb":{"@id":"https://www.modelon.com/blog/aircraft-aileron-actuator-real-time-simulation/#breadcrumb"},"description":"Aircraft aileron actuator modeling and simulation - This blog is dedicated to simulating the simplified aileron model in a real-time target. Modelon","about":[{"@type":"Thing","name":"Aerospace &amp; Defense"},{"@type":"Thing","name":"Hydraulics Library"},{"@type":"Thing","name":"Modelica Libraries"}],"headline":"Real-time Simulation of an Aircraft Aileron Actuator","datePublished":"2020-04-02T00:00:10+00:00","dateModified":"2022-07-13T18:31:13+00:00","image":"https://www.modelon.com/wp-content/uploads/2022/06/Modelon_Social_1200_628_AHAS_4_v2.jpg","author":{"@id":"https://www.modelon.com/blog/author/modelonms/#person"},"publisher":{"@id":"https://www.modelon.com/#organization"}},{"@type":"Person","@id":"https://www.modelon.com/blog/author/modelonms/#person","name":"modelonms","url":"https://www.modelon.com/blog/author/modelonms/"}]}
```
