Prototype circuit element object.
| 472 | return elementValues |
| 473 | |
| 474 | class element(object): |
| 475 | """ |
| 476 | Prototype circuit element object. |
| 477 | """ |
| 478 | def __init__(self): |
| 479 | self.refDes = '' |
| 480 | """ |
| 481 | Element reference designator (*str*), defaults to ''. |
| 482 | """ |
| 483 | |
| 484 | self.type = '' |
| 485 | """ |
| 486 | Element type: First letter of refdes (*str*). |
| 487 | """ |
| 488 | |
| 489 | self.nodes = [] |
| 490 | """ |
| 491 | (*list*) with names (*str*) of the nodes to which the element is |
| 492 | connected. |
| 493 | """ |
| 494 | |
| 495 | self.refs = [] |
| 496 | """ |
| 497 | (*list*) with reference designators of elements (*str*) that are |
| 498 | referenced to by the element. |
| 499 | """ |
| 500 | |
| 501 | self.params = {} |
| 502 | """ |
| 503 | (*dict*) with key-value pairs: |
| 504 | |
| 505 | - key (*sympy.core.symbol.Symbol*): Name of an element parameter. |
| 506 | - value (*sympy object*, float, int): Value of the parameter. |
| 507 | """ |
| 508 | self.model = '' |
| 509 | """ |
| 510 | Name (*str*) of the model of the element. |
| 511 | """ |
| 512 | |
| 513 | class modelDef(object): |
| 514 | """ |
no outgoing calls
no test coverage detected