[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [TRNSYS-users] Help Type 155



<What is meant by iterative behaviour? >

The TRNSYS solver uses an iterative scheme to solve for the dynamic solution.  I urge you to read the documentation so you have an idea of how it works.

 

<2. Does callingMode 0 call Matlab at the beginning of the timestep, and the outputs of Matlab are used as inputs of the current TRNSYS timestep?>

Nope - setting it to zero means that it will be called every time that one of the inputs to the component have changed; which will update it's outputs and the components connected to those outputs will then be called.  This can happen many, many times during a timestep.  Mode 10 would only call MATLAB at the end of each timestep once everything else has solved.  Components connected to MATLAB at the next timestep would then use the outputs from the MATLAB component at the previous call with no iteration.

 

<3. What is meant by calls in the timestep? Can I set a certain number of calls in the timestep?>

Calss = calling a component to solve for it's output given the inputs and parameters.

 

Jeff

 

---
Jeff Thornton President - TESS LLC 3 N. Pinckney Street, Suite 202, Madison WI USA 53703 Office: (608) 274-2577 Fax: (608) 278-1475 www.tess-inc.com E-Mail: thornton@tess-inc.com

On 04/24/2020 10:07 am, MUGNINI ALICE via TRNSYS-users wrote:

Dear TRNSYS users, 

 

I'm trying to link Matlab 2014 to Trnsys 17 with Type 155. 

 

I have some doubts about the parameter 4 (callingMode). In the description it is reported that it describes the iterative behavior of the component: 

 

- callingMode 0: Standard Iterative component (called at each call of each time step)
- callingMode 10: Real-time controller (called at the end of each time step, after integrators and printers).
 

 

What is not clear to me is:

1. What is meant by iterative behaviour?

2. Does callingMode 0 call Matlab at the beginning of the timestep, and the outputs of Matlab are used as inputs of the current TRNSYS timestep?

3. What is meant by calls in the timestep? Can I set a certain number of calls in the timestep?

 

I hope you can help me. 

Best regards,

Alice Mugnini

 

 

 

 

 


_______________________________________________
TRNSYS-users mailing list
TRNSYS-users@lists.onebuilding.org
http://lists.onebuilding.org/listinfo.cgi/trnsys-users-onebuilding.org