|
- <?xml version="1.0" encoding="UTF-8"?>
- <Document>
- <Model version="4.8" build="4.8.2.10124">
- <Sidops><![CDATA[model 128 184
- description '<Information>
- <Description>
- <Version>4.8</Version>
- <IsMainModel>0</IsMainModel>
- <KeepParameterValues>False</KeepParameterValues>
- <LibraryPath>Z:\home\wouter\Documents\studie\ma\mahd\implementation\submodel\SCARA\spike\motionprofiletest.emx</LibraryPath>
- <TimeStamp>2020-7-9 14:43:21</TimeStamp>
- </Description>
- </Information>';
- type Mainmodel
- end;
- implementation bg
- submodels
- Submodel1 328 200
- description '<Description><Version>4.0</Version>
- <LibraryPath>Template\Submodel-Equation.emx</LibraryPath>
- <IsMainModel>1</IsMainModel>
- <KeepParameterValues>False</KeepParameterValues>
- <TimeStamp>2007-11-1 22:32:1</TimeStamp>
- <AllowLibraryUpdate>False</AllowLibraryUpdate>
- </Description>';
- type 'Submodel-Equation'
- ports
- signal out output;
- end;
- implementation eq
- /* Equation Submodel
- Enter your equations here. You can use the Toolbar buttons at the top ( Add , f(x) etc. ).
- */
- parameters
- string dllname = 'MotionProfiles.dll';
- variables
- real x[3];
- real t;
- equations
- // start typing here
- t = time-0.5;
- x = dll(dllname,'ProfileCycloidal',t);
- output = x[1];
- implementation_end;
- end;
- connections
- end;
- implementation_end;
- ]]>
- </Sidops>
- </Model>
- <Experiments>
- <DefaultExperiment><![CDATA[Experiment 1]]>
- </DefaultExperiment>
- <Experiment>
- <Name>Experiment 1</Name>
- <CreatedBy></CreatedBy>
- <Info></Info>
- <ExpData>
- <VersionNumber>4.8</VersionNumber>
- <ModelProperties>
- </ModelProperties>
- <Variables>
- <Parameters>
- </Parameters>
- </Variables>
- <PlotSpecs>
- <VarNames>
- <VarName>time</VarName>
- <VarName>Submodel1\x[1]</VarName>
- <VarName>Submodel1\x[2]</VarName>
- <VarName>Submodel1\x[3]</VarName>
- </VarNames>
- <Plots>
- <Plot>
- <PlotType>GraphPlot</PlotType>
- <BasePlot>
- <PlotId>1</PlotId>
- <UseWindowsBGColor>false</UseWindowsBGColor>
- <BGColor>16777215</BGColor>
- <PlotIsVisible>true</PlotIsVisible>
- </BasePlot>
- <Grid>
- <DrawGrid>true</DrawGrid>
- <GridColor>15780518</GridColor>
- <GridBorderLineColor>12624260</GridBorderLineColor>
- <GridZeroLineColor>0</GridZeroLineColor>
- <XTicks>10</XTicks>
- <YTicks>10</YTicks>
- <ZTicks>10</ZTicks>
- <Use3DLook>false</Use3DLook>
- </Grid>
- <PlotBGColor>16777215</PlotBGColor>
- <ShowPlotTitle>true</ShowPlotTitle>
- <TitlePosition>1</TitlePosition>
- <PlotTitle>model</PlotTitle>
- <ShowXValues>true</ShowXValues>
- <Fonts>
- <TitleFont>
- <Name>Arial</Name>
- <Height>12</Height>
- <PitchFamily>34</PitchFamily>
- <Weight>400</Weight>
- <Italic>0</Italic>
- <UnderLine>0</UnderLine>
- <StrikeOut>0</StrikeOut>
- <Color>0</Color>
- </TitleFont>
- <LabelFont>
- <Name>Arial</Name>
- <Height>12</Height>
- <PitchFamily>34</PitchFamily>
- <Weight>400</Weight>
- <Italic>0</Italic>
- <UnderLine>0</UnderLine>
- <StrikeOut>0</StrikeOut>
- <Color>0</Color>
- </LabelFont>
- <ValuesFont>
- <Name>Arial</Name>
- <Height>10</Height>
- <PitchFamily>34</PitchFamily>
- <Weight>400</Weight>
- <Italic>0</Italic>
- <UnderLine>0</UnderLine>
- <StrikeOut>0</StrikeOut>
- <Color>0</Color>
- </ValuesFont>
- <LegendFont>
- <Name>Arial</Name>
- <Height>12</Height>
- <PitchFamily>34</PitchFamily>
- <Weight>400</Weight>
- <Italic>0</Italic>
- <UnderLine>0</UnderLine>
- <StrikeOut>0</StrikeOut>
- <Color>0</Color>
- </LegendFont>
- </Fonts>
- <SharedXAxis>true</SharedXAxis>
- <SharedYAxis>true</SharedYAxis>
- <SharedZAxis>false</SharedZAxis>
- <XAxes>
- <Axis>
- <Minimum>0.0</Minimum>
- <Maximum>10.0</Maximum>
- <Linear>true</Linear>
- <Scaling>3</Scaling>
- <Label>time</Label>
- </Axis>
- </XAxes>
- <YAxes>
- <Axis>
- <Minimum>-8.0</Minimum>
- <Maximum>12.0</Maximum>
- <Linear>true</Linear>
- <Scaling>2</Scaling>
- <Label>x[1]</Label>
- </Axis>
- <Axis>
- <Minimum>0.0</Minimum>
- <Maximum>10.0</Maximum>
- <Linear>true</Linear>
- <Scaling>2</Scaling>
- <Label>x[2]</Label>
- </Axis>
- <Axis>
- <Minimum>0.0</Minimum>
- <Maximum>10.0</Maximum>
- <Linear>true</Linear>
- <Scaling>2</Scaling>
- <Label>x[3]</Label>
- </Axis>
- </YAxes>
- <ZAxes>
- </ZAxes>
- <Curves>
- <Curve>
- <LineColor>3355111</LineColor>
- <LineStyle>1</LineStyle>
- <TickColor>3355111</TickColor>
- <TickStyle>0</TickStyle>
- <CurveVisible>true</CurveVisible>
- <PixelThresshold>1</PixelThresshold>
- <LineThickness>2</LineThickness>
- <LineOrder>1</LineOrder>
- <ShowYValues>true</ShowYValues>
- <XCurveData>
- <ShowUnit>true</ShowUnit>
- <VarName>time</VarName>
- </XCurveData>
- <YCurveData>
- <ShowUnit>true</ShowUnit>
- <VarName>Submodel1\x[1]</VarName>
- </YCurveData>
- </Curve>
- <Curve>
- <LineColor>6076255</LineColor>
- <LineStyle>1</LineStyle>
- <TickColor>6076255</TickColor>
- <TickStyle>0</TickStyle>
- <CurveVisible>true</CurveVisible>
- <PixelThresshold>1</PixelThresshold>
- <LineThickness>2</LineThickness>
- <LineOrder>1</LineOrder>
- <ShowYValues>true</ShowYValues>
- <XCurveData>
- <ShowUnit>true</ShowUnit>
- <VarName>time</VarName>
- </XCurveData>
- <YCurveData>
- <ShowUnit>true</ShowUnit>
- <VarName>Submodel1\x[2]</VarName>
- </YCurveData>
- </Curve>
- <Curve>
- <LineColor>12553035</LineColor>
- <LineStyle>1</LineStyle>
- <TickColor>12553035</TickColor>
- <TickStyle>0</TickStyle>
- <CurveVisible>true</CurveVisible>
- <PixelThresshold>1</PixelThresshold>
- <LineThickness>2</LineThickness>
- <LineOrder>1</LineOrder>
- <ShowYValues>true</ShowYValues>
- <XCurveData>
- <ShowUnit>true</ShowUnit>
- <VarName>time</VarName>
- </XCurveData>
- <YCurveData>
- <ShowUnit>true</ShowUnit>
- <VarName>Submodel1\x[3]</VarName>
- </YCurveData>
- </Curve>
- </Curves>
- <Legenda>
- <ShowLegenda>true</ShowLegenda>
- <BorderPenColor>0</BorderPenColor>
- <BackgroundColor>16777215</BackgroundColor>
- </Legenda>
- </Plot>
- </Plots>
- <PlotPanels>
- <PlotPanel>
- <PlotPanelId>1</PlotPanelId>
- <PlotPanelVisible>true</PlotPanelVisible>
- <Name>Window 1</Name>
- <Tiling>0</Tiling>
- <PlotIds>
- <PlotId>1</PlotId>
- </PlotIds>
- <ToggleState>Base</ToggleState>
- </PlotPanel>
- </PlotPanels>
- <WindowRectangles virtualDesktopWidth="1920" virtualDesktopHeight="1080">
- <WindowRectangle monitor="0" left="0" top="0" right="1920" bottom="1080" plotpanelid="1">
- 0.146354 0.222222 0.856771 1.01296
- </WindowRectangle>
- </WindowRectangles>
- </PlotSpecs>
- <RunSpecs>
- <SimulatorSettings>
- <StartTime>0.0</StartTime>
- <FinishTime>10.0</FinishTime>
- <AllowPassFinishTime>false</AllowPassFinishTime>
- <Warp>false</Warp>
- <FPGonio>false</FPGonio>
- <UseOutputAfterEach>false</UseOutputAfterEach>
- <OutputAfterEach>0.1</OutputAfterEach>
- <EventEpsilon>1.0e-6</EventEpsilon>
- <AlgebraicTolerance>1.0e-7</AlgebraicTolerance>
- <SteadyStateAnalysis>false</SteadyStateAnalysis>
- <UpdateHoldInstructions>true</UpdateHoldInstructions>
- </SimulatorSettings>
- <IntegrationMethods>
- <IntegrationMethod>
- <Name>Euler</Name>
- <StepSize>0.01</StepSize>
- <AutoStepSize>false</AutoStepSize>
- </IntegrationMethod>
- <IntegrationMethod>
- <Name>BackwardEuler</Name>
- <AbsoluteTolerance>1.0e-5</AbsoluteTolerance>
- <RelativeTolerance>1.0e-5</RelativeTolerance>
- <AlgebraicAbsoluteTolerance>1.0e-5</AlgebraicAbsoluteTolerance>
- <AlgebraicRelativeTolerance>1.0e-5</AlgebraicRelativeTolerance>
- <StepSize>0.01</StepSize>
- <Alpha>1.0</Alpha>
- </IntegrationMethod>
- <IntegrationMethod>
- <Name>AdamsBashforth</Name>
- <StepSize>0.01</StepSize>
- <AutoStepSize>false</AutoStepSize>
- </IntegrationMethod>
- <IntegrationMethod>
- <Name>RungeKutta2</Name>
- <StepSize>0.01</StepSize>
- <AutoStepSize>false</AutoStepSize>
- </IntegrationMethod>
- <IntegrationMethod>
- <Name>RungeKutta4</Name>
- <StepSize>0.01</StepSize>
- <AutoStepSize>false</AutoStepSize>
- </IntegrationMethod>
- <IntegrationMethod>
- <Name>RungeKutta8</Name>
- <UseInitialStepSize>false</UseInitialStepSize>
- <InitialStepSize>0.001</InitialStepSize>
- <UseMaximumStepSize>false</UseMaximumStepSize>
- <MaximumStepSize>1.0</MaximumStepSize>
- <AbsoluteTolerance>1.0e-6</AbsoluteTolerance>
- <RelativeTolerance>1.0e-6</RelativeTolerance>
- <SafetyFactor>0.9</SafetyFactor>
- <Factor1>0.33</Factor1>
- <Factor2>6.0</Factor2>
- <Beta>0.0</Beta>
- <UseMaxNrSteps>false</UseMaxNrSteps>
- <MaxNrSteps>100000</MaxNrSteps>
- <UseStiffDetection>false</UseStiffDetection>
- <MaxNrStiffnessSteps>1000</MaxNrStiffnessSteps>
- </IntegrationMethod>
- <IntegrationMethod>
- <Name>RungeKuttaFehlberg</Name>
- <UseInitialStepSize>false</UseInitialStepSize>
- <InitialStepSize>0.001</InitialStepSize>
- <UseMaximumStepSize>false</UseMaximumStepSize>
- <MaximumStepSize>1.0</MaximumStepSize>
- <AbsoluteTolerance>1.0e-6</AbsoluteTolerance>
- <RelativeTolerance>1.0e-6</RelativeTolerance>
- </IntegrationMethod>
- <IntegrationMethod>
- <Name>VodeAdams</Name>
- <UseInitialStepSize>false</UseInitialStepSize>
- <InitialStepSize>0.001</InitialStepSize>
- <UseMaximumStepSize>false</UseMaximumStepSize>
- <MaximumStepSize>1.0</MaximumStepSize>
- <AbsoluteTolerance>1.0e-6</AbsoluteTolerance>
- <RelativeTolerance>1.0e-6</RelativeTolerance>
- <VodeUseBDF>true</VodeUseBDF>
- <VodeUseNewton>true</VodeUseNewton>
- </IntegrationMethod>
- <IntegrationMethod>
- <Name>BDFMethod</Name>
- <AbsoluteTolerance>1.0e-5</AbsoluteTolerance>
- <RelativeTolerance>1.0e-5</RelativeTolerance>
- <AlgebraicAbsoluteTolerance>1.0e-5</AlgebraicAbsoluteTolerance>
- <AlgebraicRelativeTolerance>1.0e-5</AlgebraicRelativeTolerance>
- <UseInitialStepSize>false</UseInitialStepSize>
- <InitialStepSize>0.001</InitialStepSize>
- <UseMaximumStepSize>false</UseMaximumStepSize>
- <MaximumStepSize>1.0</MaximumStepSize>
- </IntegrationMethod>
- <IntegrationMethod>
- <Name>MeBDFiMethod</Name>
- <AbsoluteTolerance>1.0e-5</AbsoluteTolerance>
- <RelativeTolerance>1.0e-5</RelativeTolerance>
- <AlgebraicAbsoluteTolerance>1.0e-5</AlgebraicAbsoluteTolerance>
- <AlgebraicRelativeTolerance>1.0e-5</AlgebraicRelativeTolerance>
- <UseInitialStepSize>false</UseInitialStepSize>
- <InitialStepSize>0.001</InitialStepSize>
- <UseMaximumStepSize>false</UseMaximumStepSize>
- <MaximumStepSize>1.0</MaximumStepSize>
- </IntegrationMethod>
- <SelectedIntegrationMethod>8</SelectedIntegrationMethod>
- </IntegrationMethods>
- </RunSpecs>
- <MultipleRun>
- <NrSteps>10</NrSteps>
- <CopyFromStates>false</CopyFromStates>
- <JoinParameterVariation>true</JoinParameterVariation>
- <ClearAfterRun>true</ClearAfterRun>
- <RedrawAfterRun>false</RedrawAfterRun>
- <DrawDuringSimulation>true</DrawDuringSimulation>
- <ActionBeforeOptimization>0</ActionBeforeOptimization>
- <CompareValue>0.0</CompareValue>
- <UseCompareValue>true</UseCompareValue>
- <MultipleRunType>MultipleRun</MultipleRunType>
- <Minimize>true</Minimize>
- <OptimizationVariable></OptimizationVariable>
- <ResulVarUsage>UseEndValue</ResulVarUsage>
- <Tolerance>0.001</Tolerance>
- <OptimizationMethod>BroydonFletcherGoldfarbShanno</OptimizationMethod>
- <MultipleRunVariables>
- </MultipleRunVariables>
- </MultipleRun>
- <ExportData>
- <WriteAsText>true</WriteAsText>
- <ReadAsText>true</ReadAsText>
- <WriteHeader>true</WriteHeader>
- <ReadHeader>true</ReadHeader>
- <ReadFilename></ReadFilename>
- <WriteFilename></WriteFilename>
- <DoWrite>false</DoWrite>
- <ExportVariables>
- </ExportVariables>
- <ImportVariables>
- </ImportVariables>
- </ExportData>
- <BreakPoints>
- </BreakPoints>
- <AnimationPlayback>
- <PlaybackSpeed>1.0</PlaybackSpeed>
- </AnimationPlayback>
- </ExpData>
- </Experiment>
- </Experiments>
- </Document>
|