Describe the bug
When instantiating an ExtendedEvent, the t_ext should not be a number. It should come from a param or service, or there will be an error when running TDS.
To Reproduce
Instantiate an ExtendedEvent in the model and set t_ext=0.02.
Run the TDS.
Expected behavior
Run TDS without error.
Screenshots
Desktop (please complete the following information):
OS: [Mac OS 11.5.2]
ANDES version [1.3.12.post51.dev0+g42ae457d]
**pip packages (please paste the output from pip list)
Package Version Location
Describe the bug When instantiating an
ExtendedEvent
, thet_ext
should not be a number. It should come from aparam
orservice
, or there will be an error when runningTDS
.To Reproduce
ExtendedEvent
in the model and sett_ext=0.02
.Expected behavior Run TDS without error.
Screenshots
Desktop (please complete the following information):
**pip packages (please paste the output from
pip list
) Package Version Locationandes 1.3.3.post154.dev0+ga723634 /home/jwang175/andes appdirs 1.4.4 argon2-cffi 20.1.0 astroid 2.6.2 async-generator 1.10 attrs 21.2.0 backcall 0.2.0 backports.functools-lru-cache 1.6.4 black 21.7b0 bleach 3.3.0 certifi 2021.5.30 cffi 1.14.5 chardet 4.0.0 click 8.0.1 colorama 0.4.4 coloredlogs 15.0.1 cvxopt 1.2.6 cycler 0.10.0 decorator 5.0.9 defusedxml 0.7.1 dill 0.3.4 dime 0.0.1 dnspython 1.16.0 docopt 0.6.2 docutils 0.17.1 entrypoints 0.3 et-xmlfile 1.1.0 fett 0.3.2 flake8 3.9.2 humanfriendly 9.2 idna 2.10 importlib-metadata 4.5.0 ipykernel 5.5.5 ipython 7.24.1 ipython-genutils 0.2.0 ipywidgets 7.6.3 isort 5.9.2 jedi 0.18.0 Jinja2 3.0.1 jsonschema 3.2.0 jupyter 1.0.0 jupyter-client 6.1.12 jupyter-console 6.4.0 jupyter-core 4.7.1 jupyterlab-pygments 0.1.2 jupyterlab-widgets 1.0.0 kiwisolver 1.3.1 kvxopt 1.2.6.0 lazy-object-proxy 1.6.0 MarkupSafe 2.0.1 matplotlib 3.4.2 matplotlib-inline 0.1.2 mccabe 0.6.1 mistune 0.8.4 mpmath 1.2.1 multiprocess 0.70.12.2 mypy-extensions 0.4.3 nbclient 0.5.3 nbconvert 6.1.0 nbformat 5.1.3 nest-asyncio 1.5.1 networkx 2.5.1 notebook 6.4.0 numpy 1.20.3 openpyxl 3.0.7 packaging 20.9 pandas 1.2.4 pandocfilters 1.4.2 parso 0.8.2 pathos 0.2.8 pathspec 0.8.1 pexpect 4.8.0 pickleshare 0.7.5 Pillow 8.2.0 pip 21.1.2 pox 0.3.0 ppft 1.6.6.4 prometheus-client 0.11.0 prompt-toolkit 3.0.19 ptyprocess 0.7.0 pycodestyle 2.7.0 pycparser 2.20 pyflakes 2.3.1 Pygments 2.9.0 pylint 2.9.3 pymongo 3.11.4 pyparsing 2.4.7 PyQt5 5.12.3 PyQt5-sip 4.19.18 PyQtChart 5.12 PyQtWebEngine 5.12.1 pyrsistent 0.17.3 python-dateutil 2.8.1 python-jsonrpc-server 0.3.4 pytz 2021.1 PyYAML 5.4.1 pyzmq 22.1.0 qtconsole 5.1.0 QtPy 1.9.0 regex 2021.7.6 requests 2.25.1 scipy 1.6.3 Send2Trash 1.7.1 setuptools 49.6.0.post20210108 six 1.16.0 snooty-lextudio 1.9.2.dev0 sympy 1.8 terminado 0.10.1 testpath 0.5.0 toml 0.10.2 tomli 1.0.4 tomlkit 0.7.2 tornado 6.1 tqdm 4.61.1 traitlets 5.0.5 typed-ast 1.4.3 typing-extensions 3.7.4.3 ujson 1.35 urllib3 1.26.5 watchdog 1.0.2 wcwidth 0.2.5 webencodings 0.5.1 wheel 0.36.2 widgetsnbextension 3.5.1 wrapt 1.12.1 XlsxWriter 1.4.3 zipp 3.4.1
Additional context No big deal, just a kind reminder that we can clarify that such definition is inappropriate in ANDES.