How to write time dependent exponential with simple Simulink blocks

Hello,
How would I write this question in simulink using simple blocks:
V= I*R*(1 -exp(-t/(C*R)) ?
I think I am missing the feed back which decays the value over time.
sample1.JPG
I don't want to use blocks which lock values (R and C), as I want to create lookup tables which change the valuse later on. (this is for 2-RC branch battery model)
Any help would be greatly appreciated!

답변 (2개)

Birdman
Birdman 2019년 1월 30일

0 개 추천

Try this attached model.

댓글 수: 3

That is moving in the right direction. Will I always need to select a time constant? or can it be linked to the simulink time?
It depends on your design. You can either select a time constant manually or you can link it to Simulink time.
Can you use the 'Ts' block to do this?
Also, can I write my exponential function in terms of a transfer function?

댓글을 달려면 로그인하십시오.

Priti Bawankule
Priti Bawankule 2019년 11월 7일

0 개 추천

How , we will give the value of Ts, if that T is in vector form?

카테고리

도움말 센터File Exchange에서 Simulink Functions에 대해 자세히 알아보기

질문:

2019년 1월 30일

답변:

2019년 11월 7일

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by