How to write time dependent exponential with simple Simulink blocks

6 次查看(过去 30 天)
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
Try this attached model.
  3 个评论
Birdman
Birdman 2019-1-30
It depends on your design. You can either select a time constant manually or you can link it to Simulink time.
Joshua Allwright
Joshua Allwright 2019-1-30
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
How , we will give the value of Ts, if that T is in vector form?

类别

Help CenterFile Exchange 中查找有关 Programmatic Model Editing 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by