a_simsim

65 Reputation

4 Badges

11 years, 188 days

MaplePrimes Activity


These are questions asked by a_simsim

Dear Community,

I run a MapleSim model from Maple. The simulation runs fine giving me the correct graphical plots, but I wonder how could I obtain also the numerical values of the probes vs. time? Sorry I could not figure it out. A matrix format would be perfect: 1st column time, the other columns probe 1 .. n values vs. time. (Files attached)

Tx for the kind help in advance,

best regards

Andras

RunMapleSim.mw , RCNetwork.msim

Dear Community,

I have set up a simple 2D RC network with 1 lookup table current source, and a few probes. The model runs fine. Now I wanted to run it from Maple, and followed carefully a MapleSim tutorial which exlained how to establish the link between Maple and MapleSim. I added a worksheet called RCNetworkMaple.mw and run the A := MapleSim:-LinkModel(): command. Then I wanted to run the simulation with the A := Simulate() ; command, but nothing happened, Maple returned A := Simulate(). What did I wrong? In the tutorial it runs perfectly. (Files attached.)

 

Tx for the kind help in advance,

best regards

Andras

RCNetwork.msim  RC_Rate_Schedule.xlsx

Dear Community,

 

I'm trying to import a simple Excel (xlsx) file into my Maple worksheet.

1st problem: Maple reads it only, if I put it into my root directory. As soon as I try to read it from the directory I'm working in, and provide full file name (Path + file name)  it fails. Why?

2nd problem: The real surprise comes, when I manage to import it. Its a 150 x 2 matrix, but as soon as I try to retrieve a value, I get an error message "Error, bad index into Matrix". Why is this? Should be very simple. Files attached.

 

Tx in advance

best regards

Andras

ImportTest.mw

RC_Rate_Schedule.xlsx

Dear Community,

I would like to have a 3D matrix, where each of the matrix elements is a collection of different kind of data, e.g. integers, real (float) numbers, logical variable, 1D vector of integers or reals, 1D vector of logical variables, etc. In other words I would like to store a collection of different data on a 3D grid. This collection is of course identical for all grid points, i.e. matrix elements. I experimented with DataFrames, but it did not allow me to use vectors. How could I realize such a structure in Maple? It is done quite easily in MATLAB e.g. with the "struct" command, or in FORTRAN with the "Type" command.

Many tx in advance,

best regards

Andras

 

Dear Community,

 

I tried to run a very simple dumped oscillator in MapleSim. Upon running however I do not get any result plots. Nothing appears in the result window :-/ Could you pls. have a short look at it?

Tx in advance,

best regards

Andras

RLC_Passive_Low_Pass_1.msim

1 2 3 4 5 Page 1 of 5