Model Settings
- Last UpdatedJan 13, 2023
- 3 minute read
Keywords
MODEL SETTINGS
Function
Sets default component parameters and design data attributes.
Description
Sets default values for component parameters and specimen values for other classes of parameters (refer to Catalog Database Structure). Also sets design data attributes; the numeric attributes may be used in place of parameters for defining Pointsets and Geomsets.
Values entered in model settings are accepted with or without unit qualifiers. Model design data attributes (for example, DDANG, BORE, DDHEI) will only accept dimensionally compatible units and when used in expression evaluated inside Paragon dimension consistency checks will be made. If entered unqualified the system will assume the value is in the current working units.
Model parameters will accept unit qualifier values and will store the values in the appropriate database units. However the actual physical quantity is not be stored (unlike actual Catalog and design parameters) and so when expressions using the model parameters are evaluated in paragon no dimension error checking is performed. Such checking IS performed when evaluating expressions using these parameters in other modules (design, draft etc.)
Examples of setting default component parameters
|
MODEL SET PARA 3 35 |
Sets default value for component parameter 3 to 35 |
|
MODEL SET IPAR 1 3.5 IPAR 2 4.5 |
Sets insulation parameter 1 to 3.5’ and insulation parameter 2 to 4.5 |
|
MODEL SET APAR 1 250 |
Sets attached parameter 1 to 250 |
|
MODEL SET APAR 3 5.1 OPAR 2 19.75 |
Sets attached parameter 3 to 5.1 and owning parameter 2 to 19.75 |
|
MODEL SET CAT OPAR 3 2.5 |
Sets owning parameter 3 to 2.5 |
|
MODEL SET DES PARA 3 1.2 |
Sets design parameter 3 to 1.2 |
|
MODEL SET DES APAR 10 99 |
Sets design attached parameter 10 to 99 |
|
MODEL SET DES PARA 2 (ATAN(4 / 3)) |
Sets design parameter 2 to tan-1 4/3 |
|
MODEL SET DEF |
Deletes all default and specimen parameters (also sets Design Data attributes to default values) |
The word Catalog (CAT) in the fifth example is optional. You can use it when setting default values for component parameters, and when setting specimen values for structural parameters. You may find it helpful to use the word for clarity in macros, to distinguish between Design DB parameters and other classes of parameters.
Values for any of these classes of parameters may be set in a single command, for example:
MODEL SET PARA 2 12 IPAR 1 17 APAR 2 32 DES PARA 3 25 DES OPAR 5 6.3
Examples of setting design data attributes
|
MODEL SET INSPEC /IS50 |
Set Insulation Specification to IS50 |
|
MODEL SET BOR 100 TEMP 350 PRESS 50 |
Set Component bore, temperature and pressure to given Design value as |
|
MODEL SET DDHEI 2000 DDRAD 35 |
Set height and radius to given Design values |
|
MODEL SET DDANG (ASIN(6 / 7)) |
Set Design Angle to arcsin (6/7) |
|
MODEL SET DEF |
Set Design Data attributes to default values (also deletes all default and specimen parameters and unsets Insulation Spec) |
Default values
|
TEMP |
-100000 |
|
BORE |
150.0 mm |
|
PRESSURE |
0.0 |
|
DDANGLE |
90 degrees |
|
DDHEIGHT |
100.0 mm |
|
DDRADIUS |
225 mm |
|
INSPEC |
Nulref (i.e. unset) |
Command Syntax
.---------------------<---------------------.
/ |
>- MODEL - SETtings --+--*- CATalogue* -. |
| |- DESign -----| |
| |--------------+- PARAam -. |
| | |- APARam -| |
| | ‘- OPARam -+ |
| | | |
| |- IPARam ----------------+------. |
| | .-------------’ |
| | ‘- number -+- value ----|
| | ‘- <expres> -|
| | |
| |-- INSpec --- name -----------------------|
| | |
| |-- TEMp --- value ------------------------|
| | |
| |-- BORe --- value ------------------------|
| | |
| |-- PREssure --- value --------------------|
| | |
| |-- DDHEIght --- value --------------------|
| | |
| |-- DDRADius --- value --------------------|
| | |
| ‘-- DDANGle ---+--- value ----------------|
| ‘--- <expres> --------------|
| |
‘--- DEFault ---------------------------------+-->
Querying Syntax
>- Q - MODEL -- SETtings --+-- CATalogue --.
|-- DESign -----|
|---------------+-- PARAam --.
| |-- APARam --|
| ‘-- OPARam --+
| |
|-- IPARam ------------------|
| |
|-- INSpec ------------------|
| |
|-- TEMp --------------------|
| |
|-- BORe --------------------|
| |
|-- PREssure ----------------|
| |
|-- DDHEIght ----------------|
| |
|-- DDRADius ----------------|
| |
‘-- DDANGle -----------------+-->