|
|
|
|
|
__getitem__(self,
name)
return the value of design or result variable with name |
source code
|
|
|
|
__setitem__(self,
name,
val)
set the value of design or result variable with name |
source code
|
|
|
|
__call__(self,
*varNames)
return the values of design and result variables in varNames list |
source code
|
|
|
|
__init__(self,
subtaskName='simple model',
taskName='System Study',
controlRoutine=None,
author='',
constraintTolerance=0.001,
renderControlRoutine=None,
probDesc=None)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature |
source code
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
getDesVars(self,
*dvItems)
handle either single design var or list of design vars |
source code
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| setRenderControlRoutine(self,
renderControlRoutine) |
source code
|
|
|
|
|
|
|
addDesignVariable(self,
name='desvar',
InitialVal=0.0,
minVal=-1e+300,
maxVal=1e+300,
NSteps=10,
units='',
desc='',
step=None,
linear=1) |
source code
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| getFeasibleVarWithControlVar(self,
fvCVStr) |
source code
|
|
|
|
makeFeasiblePair(self,
outName='feasvar',
feasibleVal=0.0,
inpName='inpvar',
tolerance=1e-006,
maxLoops=40,
failValue=None) |
source code
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
makeMinMaxPair(self,
outName='feasvar',
findmin=0,
inpName='inpvar',
tolerance=1e-006,
maxLoops=400,
failValue=None) |
source code
|
|
|
|
setResultVariableLimits(self,
name='resultvar',
loLimit=-1e+300,
hiLimit=1e+300) |
source code
|
|
|
|
addResultVariable(self,
name='resultvar',
units='',
desc='',
loLimit=-1e+300,
hiLimit=1e+300) |
source code
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
addInput(self,
label='generic param',
value=0.0,
units='xxx',
format='%g') |
source code
|
|
|
|
addOutput(self,
label='generic param',
value=0.0,
units='xxx',
format='%g') |
source code
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
render(self,
view='front',
ortho=0,
width=480,
height=360,
makeHTML=1,
clockX=None,
clockY=None,
clockZ=None,
background='Black',
viewMargin=1.06,
lookAtOffset=None) |
source code
|
|
|
|
|
|
Inherited from object:
__delattr__,
__getattribute__,
__hash__,
__new__,
__reduce__,
__reduce_ex__,
__repr__,
__setattr__,
__str__
|