Book a Demo

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Aiden

Pages: [1]
1
General Board / Re: SysML Sim Configuration
« on: November 01, 2022, 01:12:34 am »
Fixed

2
General Board / Parametric Diagram
« on: November 01, 2022, 01:08:31 am »
Hi

I have the constraint equation 'scope=inputSignal'

In my parametric diagram i have the constraint block withb a 'scope:Real' property and 'inputSignal:Real'

I have my input port on the diagram boundry connected to the 'inputSignal:Real' proprty but I am unsure was connects to the 'scope:Real' property?

does anyone know?

thanks
Aiden

3
General Board / Re: Connector type?
« on: October 31, 2022, 10:55:35 pm »
hi q

managed to get it, it was information flow!

thanks
Aiden

4
General Board / SysML Sim Configuration
« on: October 31, 2022, 10:34:11 pm »
Hi,

I have been trying to recreate a number of the sparx systems EA examples but I keep have trouble with obtaining any properties to plot for simulink. All the models, despite being simulink examples, only have properties to plot when the Sim Configuration is set to modelica and none when set to simulink?

I can't understand why this happens as I have followed the examples exactly as far as I can see.

thanks
Aiden

5
General Board / Re: Connector type?
« on: October 31, 2022, 08:21:21 pm »
Hi q thanks for the reply, when I use information flow and select 'Real' it comes in as a dashed line with the arrow head touching the target port.

in the image example it is a solid black line with the arrow in the middle. see link below for image.

(I am recreating the ibd from the second image in the below link:)
https://sparxsystems.com/enterprise_architect_user_guide/15.2/model_simulation/use_simulink.html#:~:text=Enterprise%20Architect%20will%20translate%20a,simulation%20settings%20and%20output%20functionality.

6
General Board / Connector type?
« on: October 28, 2022, 12:53:58 am »
Hi
apoligies in advance for no image, I don't know how to add one.

What kind of connector is it when it is a solid black line connecting 2 blocks with a black arrow inbetween and 'Real' beside the arrow?

thanks
Aiden

7
General Board / Re: Missing port on an instance of a block in IBD diagram
« on: October 28, 2022, 12:04:06 am »
I'm all out off answers now, hopefully someone on here can help fix it !

A link I use all the time could be worth a read.
https://sparxsystems.com/resources/user-guides/15.2/guidebooks/mbse-and-sysml.pdf

8
General Board / Re: Missing port on an instance of a block in IBD diagram
« on: October 27, 2022, 11:03:02 pm »
Hi Vincent

have you tried right clicking on the ibd itself and checking that properties there? ports may be unselected in the diagram or elements tab.

another fix you could try is delete the ibd and on the bdd select the port and hit delete, this should put the port inside the block as writing, then create a new child element (ibd) and hopefully the port is there.

I am very new to EA so this might not be the best fix but it has worked for me.

 

9
General Board / Input signal and scope output signal
« on: October 27, 2022, 08:30:25 pm »
Hi

I am creating a signal processor to learn more about EA simulation. I have 3 componenets, signal source, signal processor and signal sink.
I have created the signal processor and I have the constraint equations the signal source and signal sink.

signalsource: outputSignal=amp*sin(2*3.14*time)+3*sin(3.14*time)+10*sin(2*time)
signalsink: scope=inputsignal

when creating the parametric diagram for each I am unsure what to connect to 'amp:Real' in the signal source constraint block and 'scope' in the signal sink constraint block.

All help is appreciated,
Thanks
Aiden

I am following the video below but some details are not shown fully.

Enterprise Architect 15.2 and SysML Simulation in SimuLink - YouTube

10
General Board / Re: ibd diagram link on block
« on: October 25, 2022, 07:58:43 pm »
Thank you Geert!

11
General Board / ibd diagram link on block
« on: October 25, 2022, 07:37:45 pm »
Hi,

I have created an ibd within a block but the symbol to access the ibd is not there in the bottom right corner. I can only access the ibd from the activity tree at the side.

how can I add the diagram link to my block so that when I double click it opens the ibd?

thanks
Aiden

12
General Board / Properties to plot (simulink simulation)
« on: October 19, 2022, 08:18:55 pm »
Hi all,

I have been working on a model but I keep running into the issue of not having properties to plot in the simulation window.
Background
my model is two tanks and a pipe with water flowing from tank1 to tank2 via pipe.
my ports are 'VolumeFlowElement' and I have a series of Phs constants/variables.
I also have the relevent constraint equations.
I have created the componenets and constarints in seperate block definition diagrams (bdd) and created the full system for simulation in the internal block diagram (ibd) of a block.
Each component (tank and pipe) has an ibd to define the ports and a parametric diagram to define the constarints.
I have also refrenced the SysPhs library.

Issue
when I open the SysMLConfiguration window, select my package and set the block (containing the model) to SysMLModel, I have a list of dependancies that I expected yet in the properties to plot section I only have 3 options which are the 3 components of the model. These cannot be expanded only ticked.

when I select them and hit solve I am given the error;

Error using solve
Failed to generate 'ConnectedTank_lib'
Caused by
Error using ConnectedTanks.Pipe
No constructor 'DataManager.Value' with matching signature found



I am unsure as to what 'DataManager.Values' is and totally stumped on what to do to fix my issue.


All help is greatly appriciated,


Aiden


For Refrence
The system being made is shown in the following video
https://www.youtube.com/watch?v=LOZ_1iMLIBI&list=PLsiYAecFNMTxUD-FRSvzRi_OhW2JfZ2hk&index=7



13
General Board / SysML Simulation Plotting using Simscape
« on: October 18, 2022, 06:42:14 pm »
Hi all,

I am trying to replicate the two tank example for SysML Simulation Plotting using Simscape;

https://www.youtube.com/watch?v=LOZ_1iMLIBI&list=PLsiYAecFNMTxUD-FRSvzRi_OhW2JfZ2hk&index=6

I have managed to copy visually what I can see in the video but due to some areas not being expanded I am unable to get the same results as the video. In the video there are a number of properties to plot but on my model I only have 3 (fluidReservoir1, pipe, fluidReservoir2).

When I solve I get the following error message:


Error using solve
Failed to generate 'ConnectedTanks_lib'
Caused by:
Error using ConnectedTanks.Tanks>
'tankOpening.tankOpening' is not defined in the scope


ConnectedTanks= the block being simulated with ibd showing fluidReservoir1-->Pipe-->fluidReservoir2
tankOpening= the port name of fluidReservoir1 and fluidReservoir2


I suspect I have missed a step in the modelling of the system due to the video not showing you how the example is put together.


Any help is appreciated and if there is already a post about this example let me know.  :)




Pages: [1]