Book a Demo

Author Topic: SysML Parameteric Diagram Simulation  (Read 3123 times)

philchudley

  • EA User
  • **
  • Posts: 750
  • Karma: +22/-0
  • EA Consultant / Trainer - Sparx Europe
    • View Profile
SysML Parameteric Diagram Simulation
« on: November 20, 2009, 11:15:50 pm »
Please excuse my ignorance, but in the SysML example contained within EAExample.eap there is a SysML parametric diagram which can be simulated.

This is driven by scripts attatched to ConstraintBlocks.

One of the ConstraintBlocks is Delay which has the following script:

output = input.GetPreviousValue(delay);

I assume that the script language used in the example is VBScript. Where is the function GetPreviousValue() defined?

I cannot find it in VBScript language, apart from some references to spinner controls.

I can see what the function does, but cannot see where it is defined.

If it is a function that is part of some library, then what else is supplied in EA?

I have searched the EA User Guide and the internet to no avail.

Thanks!
Models are great!
Correct models are even greater!

Eve

  • EA Administrator
  • EA Guru
  • *****
  • Posts: 8110
  • Karma: +119/-20
    • View Profile
Re: SysML Parameteric Diagram Simulation
« Reply #1 on: November 23, 2009, 08:16:54 am »
It's not VB or any variation.  I see a semi-colon.

It's either going to be something that EA provides, or something that is defined in the model itself.  Unfortunately, I don't know which.

beginner

  • Guest
Re: SysML Parameteric Diagram Simulation
« Reply #2 on: November 23, 2009, 07:16:46 pm »
Dough Rosenberg has published a white paper on the community site which is also talking of the parametrics. Maybe that one can help?

b.