RTC-Tools issueshttps://gitlab.com/deltares/rtc-tools/-/issues2019-11-11T19:11:18Zhttps://gitlab.com/deltares/rtc-tools/-/issues/1069Need API to set variable as output2019-11-11T19:11:18ZJesse VanderWeesjvande42b@gmail.comNeed API to set variable as outputRight now, the only ways to do this are:
1. Make new output variables in the modelica model that are equal to the ones we actually want to output
2. Doing something annoyingly verbose like
```python
@property
def output_variables(self)...Right now, the only ways to do this are:
1. Make new output variables in the modelica model that are equal to the ones we actually want to output
2. Doing something annoyingly verbose like
```python
@property
def output_variables(self):
variables = super().output_variables
# Now, extend the list with symbols, e.g.
variables.extend([ca.MX.sym(variable)
for variable in my_iterable])
return variables
```
3) Use set_timeseries() trick (default option is `output=True`)
This is really annoying and it would be nice if output_variables() was a normal function that returns a set of strings and we handled the symbolics elsewhere.3.0