12 Steps to Create a Dynamic Model

แชร์
ฝัง
  • เผยแพร่เมื่อ 6 ม.ค. 2025

ความคิดเห็น •

  • @claudior1740
    @claudior1740 3 หลายเดือนก่อน

    thanks for the presentation, just note that the tank level axis is in cm.

  • @AJ-et3vf
    @AJ-et3vf 3 ปีที่แล้ว +1

    Thank you very much for this sir! Very useful! Thank you for your helpful videos.

  • @adhailhami6210
    @adhailhami6210 5 ปีที่แล้ว +2

    I love the video, especially the steps, it's very helpful and constructive. But I have 1 question about valve coefficient c = 50 kg/s /% open. Do you mean 100% open means the valve can deliver 50 times 100 or 50 times 1? Thanks before.

  • @josefaure8410
    @josefaure8410 ปีที่แล้ว +1

    So is it correct to say that we are programming a Level Transmitter in the python script part?

    • @apm
      @apm  ปีที่แล้ว

      No, this video doesn’t cover programming a level transmitter. Here is more information on transmitters: apmonitor.com/pdc/index.php/Main/SensorSignals

  • @asifnizamani7513
    @asifnizamani7513 6 ปีที่แล้ว +3

    amazing work sir

  • @maryamasgharpour7910
    @maryamasgharpour7910 4 ปีที่แล้ว +1

    Thanks for the helpful tutorial!
    Would you please tell me why you stored the result in 'z'? why we cannot plot level plot itself instead of z?
    One more thing that I got confused is that, why did you use another variable, valve, instead of u in the model?

    • @apm
      @apm  4 ปีที่แล้ว

      I commonly use 'u' as the input of a function and 'x', 'y', or 'z' as the output. You could change the code to be more readable.

  • @tajabdullah.malaysia
    @tajabdullah.malaysia 4 ปีที่แล้ว +2

    Thanks for the tips

  • @JoseBatista-qm3co
    @JoseBatista-qm3co 3 ปีที่แล้ว +1

    Can someone help me. Why am I getting this error: can't multiply sequence by non-int of type 'float'
    after running the same code

    • @apm
      @apm  3 ปีที่แล้ว

      Try converting it to a numpy array first before multiplying by a float such as f * np.array(x)

  • @manuel_youtube_ttt
    @manuel_youtube_ttt 4 ปีที่แล้ว +1

    Is there a reason for why you integrate 0.1 secs at a time?

    • @apm
      @apm  4 ปีที่แล้ว

      It is emulating discrete sampled systems like PID control or MPC control where a measurement is taken every 0.1 or 1.0 sec. In the Process Dynamics and Control course, a new value of the controller output is injected into the simulation model every sample time so we integrate in steps. apmonitor.com/pdc

  • @mengqizhu4306
    @mengqizhu4306 3 ปีที่แล้ว

    Hi, I don't understand why the final result is not equal to 25 cm. Since the valve opening rate is constant from two to seven sec, we can easily calculate the final height by the following equation: 50*100%*(7-2)=1000*1.0*h. Then the answer should be 0.25 m instead of 0.245. Could you please consider it if you saw the review. I am very confused.

    • @apm
      @apm  3 ปีที่แล้ว

      It isn't exactly 5 seconds opened. It is between time points 21 and 69. Try it with time points 21 to 71 and see if that gives you an answer that is consistent with your calculation. Change the line u[21:70] to u[21:72] for 21 to 71 time points.

    • @mengqizhu4306
      @mengqizhu4306 3 ปีที่แล้ว +2

      @@apm Thank you very much! I have tried and it worked.

  • @juanreyes8564
    @juanreyes8564 5 ปีที่แล้ว

    Thank you for the tutorial. I have a quick question. Why does valve = u[i+1] ? Why is the first value of the open % is being skipped?

    • @apm
      @apm  5 ปีที่แล้ว +1

      At 15:38, I use u[i+1] because the starting conditions are already specified and I am computing the next step. I could have used 'i' instead if I change the loop on line 28 to: "for i in range(1,101)".

    • @juanreyes8564
      @juanreyes8564 5 ปีที่แล้ว

      @@apm Ok, that makes sense. Thats what i was thinking. Thanks you!

  • @moazsalem3488
    @moazsalem3488 5 ปีที่แล้ว +1

    There is one step missing which is the most important of all steps which is ** Type of model to be obtained ** I would place it as number 2 as you know there are 4 kinds models

    • @apm
      @apm  5 ปีที่แล้ว +1

      Thanks for the valuable insight, Moaz!

  • @asifnizamani7513
    @asifnizamani7513 6 ปีที่แล้ว

    sir can us enroll online from your class ,seminar as face to face free or just seeing online from youtube videos or website videos

    • @apm
      @apm  6 ปีที่แล้ว

      There is the course web-site available at apmonitor.com/pdc - unfortunately, I don't have a way for online participants to join this class directly. The dynamic optimization course does have an online option to join. The next class starts January 2019.

    • @asifnizamani7513
      @asifnizamani7513 6 ปีที่แล้ว

      ok sir

  • @asifnizamani7513
    @asifnizamani7513 6 ปีที่แล้ว

    sir please make different playlist for different topics and sir please more playlist

    • @apm
      @apm  6 ปีที่แล้ว

      I'd recommend the course web-site at apmonitor.com/pdc - the videos are grouped by topic with a natural progression. You can also build a playlist from these videos if you have a suggestion about how they should be organized.

    • @asifnizamani7513
      @asifnizamani7513 6 ปีที่แล้ว

      thanks sir