Archived OpenModelica forums. Posting is disabled.

Alternative forums include GitHub discussions or StackOverflow (make sure to read the Stack Overflow rules; you need to have well-formed questions)


Forgot password? | Forgot username? | Register
  • Index
  • » Users
  • » cpr
  • » Profile

Posts

Posts

Mar-09-12 13:17:52
No clue how to use CombiTable1Ds

Hello everyone,

I'm trying to use a CombiTable1Ds with only two columns (input, output) but I can not figure out how, even in a minimal example.
I either get "Unmatched dimension in equation connect(combitable1ds2.y, gain1.u)" (even when using a newly created table with default settings)
or, when messing around with the table's "columns"-option, I get "Type mismatch in modifier of component combitable1ds2columns, declared type Integer[:], got modifier 2 of type Integer"

Even when I try to copy the example given in the documentation by using "combitable1ds2(table = [0,0;1,0.5;2,1], columns = {2}..)" it does not work.

What is the correct way to do this?

In case it matters, I'm using 1.8.0 rev10585

Thanks in advance,
cpr

  • Index
  • » Users
  • » cpr
  • » Profile
You are here: