Protpotype for model definitions that can be added to SLiCAP.
| 511 | """ |
| 512 | |
| 513 | class modelDef(object): |
| 514 | """ |
| 515 | Protpotype for model definitions that can be added to SLiCAP. |
| 516 | """ |
| 517 | def __init__(self): |
| 518 | |
| 519 | self.name = '' |
| 520 | """ |
| 521 | Name (*str*) of the model. |
| 522 | """ |
| 523 | self.type = '' |
| 524 | """ |
| 525 | Name (*str*) of the built-in model type that should be used for this |
| 526 | model. |
| 527 | """ |
| 528 | |
| 529 | self.params = {} |
| 530 | """ |
| 531 | (*dict*) with key-value pairs: |
| 532 | |
| 533 | - key (*str*): Model parameter name |
| 534 | - value (*sympy object*, float, int): Value or expression |
| 535 | """ |
| 536 | |
| 537 | def _initAll(): |
| 538 | """ |