my name is Rick Steiner I am one of the contributors to CML the system modeling language uh from its Inception through its current um state of development in 2014 and we're currently working on version 1.5 uh during the progress of the development of CML one of the things that came out um as a as a interesting educational Aid was the concept of the four pillars of csml uh I cannot claim credit for quinting the term the four pillars that belongs to Chris Coburn who was one of the co-leaders of the um system all development team
at the time and uh he coined that term based on the four basic principles that I and some of the other contributors related to him that system Engineers really need to be able to do with any kind of uh System model and from his perception and quinting of that term um for the the four pillars I developed a initial primitive example uh that I did in Vio and over time a lot of people have uh have used that example to a great extent and I see the the icons for the PO four pillars appearing uh
all over the place well um I those particular early diagrams have gotten a little long and in tooth a little tired um the graphics were never very good to start with so I've uh rebuilt the four pillars charts um using um magic draw as the source of the of the model that that uh built the diagrams and uh did a little postprocessing in acrobat uh excuse me in uh in illustrator to make them look a little bit nicer uh and I thought it was important for me to just uh record f my interpretation of the
four pillars I've given this pitch many many times and I thought would just be good to record it uh for posterity and uh maybe it would be useful to to a broader audience that way so here are the four P pillars of csml uh presented in a very compact way um showing the basic concepts of cisl and how they relate together the four pillars of cstl are structure Behavior requirements and parametrics these are the four basic things that system Engineers have to deal with on a regular basis when talking about systems and the system modeling
language was built to be able to support and so what I'm going to be doing is walking you through these four basic areas and showing how CML represents these uh basic areas and Concepts and then how they can be cross-connected together so we'll start off with structure CML addresses structure in two basic ways the atomic unit of structure in CML is called a block a block is different than a class inl has has some extensions to it but really is meant to represent something that you would specify in your system that would actually U provide
some value to that system uh and that has to have certain characteristics it has to have certain values and it has to have a very strong sense of hierarchy in other words a parts list um so CML strengthened the the idea of a class structure or composite structures that we got from uml into this uh into this uh system engineering Paradigm and we settled on the term block as in a building block now the first kind of concept I want to talk about is the concept of definition here this first diagram is called a bdd
or block definition diagram and what you see on here um is showing you're seeing a number of different blocks uh in particular we've taken this example is about a antiock braking system and the the block and the the center and the on the upper part there is an antilock controller um the antilock controller as shown here is composed of two parts uh it's composed of D1 and M1 D1 happens to be a traction detector as uh as me shown in the in the diagram and M1 happens to be break modulator um composition is shown by
the Black Diamond kind of relationship there's another relationship shown on this diagram which is uh which is also quite interesting um and that is the white triangle relationship which is one of generalization or specialization in this case you can see that the traction detector the block traction detector is a kind of Electro electronic processor um and that The Brak modulator is a kind of electrohydraulic valve that's what the white triangle really means you can also notice through the naming conventions used here uh the name space that the electronic processor is actually resides in a library
which is actually external to the model that we're developing here uh as is the electrohydraulic valve what that allows me to do is um say what the standard properties are for electronic process such as the need to have a certain clock rate uh a certain memory size um or the fact that even has a clock rater memory size at all um likewise there may be some generic characteristics of electrohydraulic valves and by saying that through this relationship that a traction detector is a kind of electronic processor it will automatically inherit those basic characteristics or the
placeholders for those basic characteristics so that I can then tailor that to my specific need here uh and in doing that I don't forget something um and it also lets me have a library maybe many electronic processors and maybe pick one that will fit in this in this in this U kind of um design now recognize that I've told you about what an El an analog controller is composed of I've not told you about how the parts of the analog controller are connected together for that we need a different kind of diagram we need a
diagram of usage now in a structural sense the diagram of usage is called an internal block diagram it's called that because it's basically looking inside the block and a lock controller in this case the um IBD shown there the diagram frame represents the analog controller as if you've taken the analog controller on the bdd and you've kind of expanded it or blown it zoomed out zoomed into it to see what is going on inside and here inside the analog controller you still see D1 which is a traction detector you still see M1 which is a
brake modulator but in this particular case you also see that they are connected together with a with a connector C2 and that the D1 and M1 have ports on them that allow things to flow and actually describe an interface between those two parts um and that's a very important um aspect to how we look at systems and and their connections in fact for most people most systems engineers in particular when they are used to thinking about system block diagrams ibds are the kind of diagrams they're using to thinking about they want to see what the
various parts are inside this particular system they want to see how they're connected together and to some degree on an IBD they'll be able to see what kind of things are flowing around the system with that said now about structure we have this complementary um concept of definition and use that also can um appear in other areas beside structure um now let's move on on to behavior one way that behavior can be represented in csml uh we get this directly from uml is the idea of an interaction or a sequence diagram sequence diagrams will be
able to lay elements of structure uh onto a set of what are called lifelines these dashed lines that go down the page when you're looking at a sequence diagram and you can see uh D1 and M1 once again uh at the top of the page and these uh lifelines running down the page but what what is really important to show what a what a sequence diagram is really for is showing um the messages or signals or operation calls that might go back and forth between these to um particular pieces of structure or as many as
you may want you can have an arbitrary number of lifelines on a sequence diagram so you can can see that uh they could get a little bit messy um they also are showing when different U operations of the within these particular um um um structural elements um when those when those operations are enabled uh or when they're not um they show also when a signal is sent and when a return comes back so um but what they're not showing is what's going on in any depth inside the those elements of structure inside those part those
parts you really can't tell what's happening inside M1 uh or D1 in this case you can only see what's going back and forth between them another way the behavior can be represented in csml we also get from uml and that is the use of a state machine um a state machine State Machin have been around for quite a while um they are a very respected way of representing behavior um they represent the behavior of a particular piece of structure usually of a of a block um and and the block can be in several States and
the states can have substates um this the state machine concept within csml complies with uh harell hierarchical State charts um this case now we're showing the state of a a part or a part of the system that we're calling Tire uh tire traction and it's it's showing the tire can be in a gripping state or a slip sing State assuming that it starts in a gripping State and then if traction is lost it goes into a slipping State and if it's regained it goes comes back now there's there's many ways that the state machine can
invoke various behaviors based on a transition between states or um um um activities or things going to happen while it's in a particular State Etc this a very well structured and well understood kind of way of representing a modeling Behavior very familiar to most of the software code generation tools um and it's and it's pretty helpful way of uh of Designing uh systems um but there are times when we really don't know which block you want to have exhibit this uh kind of behavior in which case you you might say that it's the highest level
system or you might want to have a different way of thinking about Behavior which isn't really tied to a particular block hence we have something called the activity diagram which is really um a derivative of what is was formally known as functional flow diagrams um this is really showing no structure whatsoever the last two diagrams have had some element of structure on them and then you lay behavior on top of them um the the activity diagram kind of flips that around and says well I'm going to talk about unconstrained behavior and then eventually I should
I can lay some structure on top of it if I need to um but in this case I'm showing two actions the the round cornered boxes on the activity diagram action A1 and action A2 action A1 they're both called Behavior actions you can understand that from the little rake symbol and also from the from the fact that they're naming convention has a colon in it between the name A1 and then the name of the activity that is invoked by the call Behavior action in this case detect loss of traction um you see that uh there's
a start State there's an start uh um starting point there's an ending point the dash L lines are representing control flow the solid line um is representing object flow that or data flow if you will and that's flow between the two actions and uh this is a very handy way of if of talking about unconstrained Behavior which can be very helpful early in the concept definition phase when you really don't know exactly what pieces of structure you're dealing with u and is also very useful for starting to refine use cases and um and functional requirements
now we go into the requirements pillar uh csml is not unique in that it handles requirements um but it is unique in that it's based on uml which has no concept of requirements as a first class model element so in CML we had to do something to to accommodate requirements what what CML has at this point in time is a model element that is not a classifier but does have two fundamental attributes it has an ID which can be uh a string or whatever you want it to be based on your numbering convention and has
a text field additional um attributes can certainly be added or properties can be added to requirements as necessary but cisl does treat requirements fundamentally as textual rather than um as uh some other kind of modeling Paradigm they're basically Tech pieces of text that we need to somehow connect together and organize into specifications and you can see that here in this requirements diagram um uh two packages one package is the vehicle system specification the other is the braking subsystem specification the vehicle system specification includes a requirement uh named stopping distance which has an ID which has
ID 10.2 and the text that says the vehicle shall stop from 60 MPH within 150 ft on a clean dry surface um the braking subsystem specification has uh an anti-lock performance requirement which has says something about preventing wheel lock up um and because that that is really contingent on a design decision for how to meet the stopping distance requirement we're saying in this case uh you can assume in this case that this is a derived requirement hence the derived requirement relationship parametrics are something that the cisl added to uml had to offer and in this
case um it really is a way of uh taking systems of equations and laying laying them out in a manner to so as to make them more reusable uh and then tying those systems equations into other uh properties and attributes of the of the model uh in this case you see a parametric diagram um uh titled U that is parametric diagram of the block StraightLine vehicle Dynamics which is the which is the the diagram frame and the the um parametric diagram includes a four separate equations E1 E2 E3 and E4 um and just like we
had definition and use as shown in the structural side and to some degree on activity diagrams you now see that same principle applied here E1 is a constraint that invokes the constraint block breaking force equation likewise E2 is a constraint that invokes the constraint block acceleration equation um those little bo boxes on the edges of the um uh constraints are exposing parameters constraint parameters that can be wired together with binding connectors such that we now have a system of equations that now can be used to solve for specific uh variables as necessary okay now I
want to start talking about how these various kinds of model elements can be sort of cross-connected and used more effectively um because system L is or a system model in particular is not really about diagrams it's about the model that's behind the diagrams and um and we really want to make sure that the concepts that the diagrams uh are expressing are actually exposing deeper relationships within the model so I want to start with um showing how some of these things can be cross-connected here I have an IBD that's showing the internal block that is showing
the um traction detector and Brake modulator in context of the analon controller I'm showing an activity diagram which you've already seen before I'm showing requirements diagram and parametrics diagram Etc the first way I want to talk about cross-connecting these kind of model elements together is uh with allocation what I've done here is I've taken this activity model which is um Behavior kind of unconstrained by any structural um constraints and I've now decided I want to allocate that specifically to my structure now this may seem sort of trivial in this in this very small example to
say oh I have an action that that invokes detect loss of traction I want to actually allocate that to a part that invoke that that represents the traction detector um yes that's that's kind of trivial and I I agree but you can quickly see that if you have a very sophisticated activity diagram with a lots of things going on then maybe that allocation is not going to be quite so simple and so um this can be a very very powerful way of cross-connecting um the the behavior that you developed uh from a purely requirement or
or or need-based uh kind of understanding of what your system was supposed to do and now starting to allocate that behavior into the structure that you're now proposing is going to be responsible for exhibiting that kind of behavior so when these swim Lanes or these uh allocate activity partitions to be more exact are placed on top of the uh existing activity diagram that you'd seen previously what it does is states that the partition or Swim Lane that represents the named element at the top is uh you know the the that named element then has a
responsibility for actually um executing the behaviors within the the partition and so you can now see that D1 traction detector has the responsibility for executing of course the A1 detect loss of traction and of course um uh likewise uh M1 brake modulator has the responsibility for executing uh A2 modulate braking Force you can see that not only on the activity model side you can also see in the compartment notation on the IBD the other end of that allocation relationship it is actually a relationship that exists in the model as soon as you build um the
uh partition um the the swim lenses uh and can then become visible wherever those model elements are used and so that reinforces the idea that these diagrams are are not just static things they are views into a model that can that is a dynamic uh maturing refining model as time goes on the next kind of relationship I want to talk about here that cross Contex model elements is this idea of the satisfy relationship here I'm showing that the antiock performance r requirement uh has a satisfied relationship with the antiock controller as a whole you can
tell that because from one of these diagrams from the reords diagram particular because you see that there's a compartment on the analytic performance requirement that states such it says that this requirement is Satisfied by the block antiock controller which basically means that under the covers in the tool in the model there is a satisfied relationship that connects this requirement to the analog controller on the ibcd side of things I've taken kind of a a shortcut most tools won't actually do this but it does show a compartment notation or excuse me a a uh call out
notation for the satisfies relationship but it's tying it to the diagram frame now that's a perfectly illegal thing to do in CML but most tools aren't configured to do that um but what that is saying is that the diagram frame which does represent the model element and controller does satisfy the um perform the analog performance requirement does that mean that it satisfy it in all cases that me does that mean it's proven to satisfy the relation satisfy the requirement well no it doesn't the satisfy relationship is basically a way of of doing what we had
previously called in system engineering requirements allocation I would say the analog performance requirement then becomes allocated to the analog controller well the satisfied relationship is has that same exact meaning in that it is saying the analog controller is meant to satisfy the analog performance requirement the only way we can tell if it actually has satisfied it is if we have a verify relationship to a test case that actually executes a test and collects the results and then verifies that that requirement has been has been in fact met okay so there's a difference between satisfy and
verify and um we use two different terms we use satisfy when we're talking about requirements in this kind of relationship and we use allocate when we're talking about other model elements now I'm going to talk about something that's that's really uh kind of interesting and has and has kind of gained momentum in recent years and that is the idea of um how values and value properties uh of within structure can get tied into uh linked into and bound to sets of equations that you express in parametric models in this case you can see that the
break modulator uh what it in fact one of it its implied functionality here is that uh it applies a duty cycle to activation of the braking system and in doing so it has a value property duty cycle uh which has a value type of percent and so you can see on the parametric diagram I have added um a number of various properties value properties that I've collected from throughout this very simple model which shows um the the tire friction for example the um duty cycle of the um brake modulator um some uh unencumbered breaking force
uh um um and and and the mass of the vehicle uh and the position of the vehicle and I've used that to feed into the various um um various properties um various parameters constraint parameters of these of these constraints and so we now have enough to go on here to say well if we have numbers for all of these things we can start to do some calculations and maybe come to some conclusion about how this vehicle might perform in particular with relate related to this whole idea of the of this the stopping distance the next
step of course is to say well if I if I can calculate the vehicle's position as a function of the the the various other parameters on here we can set a braking Force we can set this duty cycle um we can set the tire friction we can establish what the initial velocity is and then we can uh calculate what the CH how long it takes for the the position you know for the velocity to go to zero and then have a um um change in position and calculate what the stopping distance is we would do
that by specifying in this case an action much like you saw on the state machine excuse me much like you saw on the sequence diagram uh that would say how to do that right and what what what you would set first what signals you would expect to see go across first what things would happen second what get driven by what um and maybe even establish a test case that would then execute that but in any case this interaction then would be able to run a test an experiment um based on the values in the model
and come up to with a conclusion of what the change in position is that would compute a minimum stopping distance and in this case there is an interaction that we are calling minimum stopping distance that does that uh calculation um and we now say that the stopping distance requirement as a compartment which says that it's verified by this interaction that computes the minimum stopping distance so you can see how some of these all of these parts on this very simple diagram this very simple example are starting to get connected together and so in closing um
there's a a lot going on uh in a system model that a system engineer wants to make sure is is connected together and is consistent and that's really what we're trying to get to I mean we could have done all these diagrams separately in uh you know a a diagramming tool PowerPoint or Vio or whatever um but we really want to do is to make sure that all the concepts are contained as separate entities and are connected together in meaningful ways and so uh hopefully you're seeing how uh a system model can start to to
provide that continuity and that consistency um and um and can really Aid in in increasing the quality of our system engineering product