BlockImporter - BlockImporter Help

Online Help

All Products    Maple    MapleSim


Home : Support : Online Help : Toolboxes : BlockImporter : Import Tools : BlockImporter/PrintSummary

BlockImporter

  

PrintSummary

  

print a summary of the system data structure

 

Calling Sequence

Parameters

Options

Description

Examples

Calling Sequence

PrintSummary( sys, opts )

Parameters

sys

-

record; system data

opts

-

(optional) equation(s) of the form option = value; specify options for the PrintSummary command

Options

• 

compact = truefalse

  

Specifies how the elements of the fields of the data structure are printed. If true, then all the elements of a field are displayed on one line (which may wrap). If false, then each element is displayed on a separate line. The default is true.

Description

• 

The PrintSummary command prints a summary of a BlockImporter data structure. This command is only for display, it returns NULL.

• 

The sys parameter is a record of the data structure, which is defined in BlockImporter[datastructure].

Examples

withBlockImporter:

Create an example of an imported data structure.

sysBlockImporter:-Example

sys:=recordequations,initialeqs,inputvars,notes,outputvars,parameters,procs,sourceeqs,statevars

(1)

Print a summary of the data structure. By default the summary is printed in a compact form.

PrintSummarysys

Equations [24]:

State Variables [3]:

Initial Equations [3]:

Source Equations [2]:

Input Variables [2]:

Output Variables [1]:

Parameters [2]:

u10,1,1=y2,1,1,u2,2,1=y3,1,1,u2,1,1=y4,1,1,u8,1,1=y6,1,1,u9,1,1=y7,1,1,u4,1,1=y8,1,1,u3,1,1=y8,1,1,u11,1,1=y9,1,1,u9,2,1=y10,1,1,u5,1,1=y11,1,1,u8,2,1=y11,1,1,y2,1,1=u2,1,1+u2,2,1,y3,1,1=u3,1,1,Dx4,1=u4,1,1,y4,1,1=x4,1,SinkScope,5,1,1=u5,1,1,y6,1,1=SourceStep,6,1,y7,1,1=SourceStep,7,1,y8,1,1=u8,1,1u8,2,1,y9,1,1=u9,1,1+u9,2,1,Dx10,1=K0,a1x10,1+u10,1,1,y10,1,1=x10,1,Dx11,1=K0,a2x11,1+u11,1,1,y11,1,1=x11,1

x4,1,x10,1,x11,1

x4,10=0,x10,10=0,x11,10=0

SourceStep&comma;6&comma;1&equals;&lcub;0t<11otherwise&comma;SourceStep&comma;7&comma;1&equals;&lcub;0t<40.1otherwise

SourceStep&comma;6&comma;1&comma;SourceStep&comma;7&comma;1

SinkScope&comma;5&comma;1&comma;1

K0&comma;a1&equals;2.&comma;K0&comma;a2&equals;1.

(2)

Use the compact = false option to print an expanded form.

PrintSummarysys&comma;compact&equals;false

Equations [24]:

State Variables [3]:

Initial Equations [3]:

Source Equations [2]:

Input Variables [2]:

Output Variables [1]:

Parameters [2]:

u10&comma;1&comma;1&equals;y2&comma;1&comma;1

u2&comma;2&comma;1&equals;y3&comma;1&comma;1

u2&comma;1&comma;1&equals;y4&comma;1&comma;1

u8&comma;1&comma;1&equals;y6&comma;1&comma;1

u9&comma;1&comma;1&equals;y7&comma;1&comma;1

u4&comma;1&comma;1&equals;y8&comma;1&comma;1

u3&comma;1&comma;1&equals;y8&comma;1&comma;1

u11&comma;1&comma;1&equals;y9&comma;1&comma;1

u9&comma;2&comma;1&equals;y10&comma;1&comma;1

u5&comma;1&comma;1&equals;y11&comma;1&comma;1

u8&comma;2&comma;1&equals;y11&comma;1&comma;1

y2&comma;1&comma;1&equals;u2&comma;1&comma;1&plus;u2&comma;2&comma;1

y3&comma;1&comma;1&equals;u3&comma;1&comma;1

Dx4&comma;1&equals;u4&comma;1&comma;1

y4&comma;1&comma;1&equals;x4&comma;1

SinkScope&comma;5&comma;1&comma;1&equals;u5&comma;1&comma;1

y6&comma;1&comma;1&equals;SourceStep&comma;6&comma;1

y7&comma;1&comma;1&equals;SourceStep&comma;7&comma;1

y8&comma;1&comma;1&equals;u8&comma;1&comma;1u8&comma;2&comma;1

y9&comma;1&comma;1&equals;u9&comma;1&comma;1&plus;u9&comma;2&comma;1

Dx10&comma;1&equals;K0&comma;a1x10&comma;1&plus;u10&comma;1&comma;1

y10&comma;1&comma;1&equals;x10&comma;1

Dx11&comma;1&equals;K0&comma;a2x11&comma;1&plus;u11&comma;1&comma;1

y11&comma;1&comma;1&equals;x11&comma;1

x4&comma;1

x10&comma;1

x11&comma;1

x4&comma;10&equals;0

x10&comma;10&equals;0

x11&comma;10&equals;0

SourceStep&comma;6&comma;1&equals;&lcub;0t<11otherwise

SourceStep&comma;7&comma;1&equals;&lcub;0t<40.1otherwise

SourceStep&comma;6&comma;1

SourceStep&comma;7&comma;1

SinkScope&comma;5&comma;1&comma;1

K0&comma;a1&equals;2.

K0&comma;a2&equals;1.

(3)

See Also

BlockImporter

BlockImporter[datastructure]

BlockImporter[Import]

BlockImporter[SimplifyModel]

 


Download Help Document

Was this information helpful?



Please add your Comment (Optional)
E-mail Address (Optional)
What is ? This question helps us to combat spam