AIDA is a study case for model based system engineering, made by MOISE project. This project contains the simulation model of AIDA (made with SimulationX in Modelica)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

154 lines
11 KiB

// CP: 65001
// SimulationX Version: 3.8.2.45319 x64
within AIDAModelica;
model GeneratePositioningSignal "Generate Positioning Signal"
Modelica.Blocks.Interfaces.RealInput Drone_coordinates[3] "'input Real' as connector" annotation(Placement(
transformation(extent={{-20,-20},{20,20}}),
iconTransformation(extent={{-120,-20},{-80,20}})));
Modelica.Blocks.Interfaces.RealOutput Positioning_signal[4] "'output Real' as connector" annotation(Placement(
transformation(extent={{-10,-10},{10,10}}),
iconTransformation(extent={{90,-10},{110,10}})));
equation
// enter your equations here
Positioning_signal[1:3] = Drone_coordinates[1:3];
Positioning_signal[4] = time;
annotation(Icon(graphics={
Rectangle(
fillColor={255,255,255},
fillPattern=FillPattern.Solid,
extent={{-100,100},{100,-103.3}}),
Bitmap(
imageSource="iVBORw0KGgoAAAANSUhEUgAAADwAAAA8CAYAAAA6/NlyAAAABGdBTUEAALGPC/xhBQAAAAlwSFlz
AAAOvAAADrwBlbxySQAAACVJREFUaEPtwTEBAAAAwqD1T+1nCiAAAAAAAAAAAAAAAAAAgKsBOHwA
AQdXZHsAAAAASUVORK5CYII=",
extent={{-100,-100},{100,100}}),
Bitmap(
imageSource="iVBORw0KGgoAAAANSUhEUgAAAOEAAADhCAYAAAA+s9J6AAAABGdBTUEAALGPC/xhBQAAG7dJREFU
eF7t3T/IPdldx/FtRWyikkQ3bEjAPxBQEBQLRQioiGKh2Cgqoghqol2wCRbBMtEuVrGMbSzVIhLb
2GwXi1hutdUWWz3e1+zz/Tl7dmbuzJ2Ze57f83zecLjPvXdmzpnv+X6+3+85c3+7bzyEELoSEYbQ
mYgwhM5EhCF0JiIMoTMRYQidiQhD6ExEGEJnIsIQOhMRhtCZiDCEzkSEIXQmIgyhMxFhCJ2JCEPo
TEQYQmciwhA6ExGG0JmIMITORIQhdCY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