Recent content by nughii

  1. nughii

    Error in trapezoidal integration using a Programming language

    Thank you very much for the advice 🙏
  2. nughii

    Error in trapezoidal integration using a Programming language

    May I ask for advice, where should I start to fix this? Thank you
  3. nughii

    Error in trapezoidal integration using a Programming language

    Yes, there is something wrong, but I am still looking for a solution.
  4. nughii

    Error in trapezoidal integration using a Programming language

    I am doing integrals, from 0 to ##t_{finish}##. Each step increases 0.0001 seconds. I use an external input for the load. For example ##P = 10W## for ##0<t<=5 seconds## and ##P = 5W## for ##6<t<10## seconds. ##################################### I use the battery model from this paper ...
  5. nughii

    Error in trapezoidal integration using a Programming language

    A description of my problem: I want to simulate a microgrid using 4DIAC Forte. I have 3 block functions: PV,Battery, and Load. Now, I want to combine these block functions to simulate the microgrid. 1. PV Block function #input : temperature & solar iradiation value # output : PV voltage, PV...
  6. nughii

    Error in trapezoidal integration using a Programming language

    I doubt whether my error is in the integral () function or mathematical modeling error. My teacher gave me a hint about it so that I would try to learn the computational approach in the integration process. However, I still haven't found another clue. I wrote a program using structured text...
  7. nughii

    Error in trapezoidal integration using a Programming language

    The first and the second equation are from different paper. I think I can join this equation. Maybe I wrong in this part. So, is it right if the second equation to be time-dependent too?
  8. nughii

    Error in trapezoidal integration using a Programming language

    I am sorry. This is the complete equation: [1]First Equation ##I_b## =battery current. ##E_0## =constant voltage. ##E_b## =the battery voltage. ##Q## =is the nominal capacity. ##A##, ##B##, and ##K## are battery's constant. [2] Second Equation In the second equation, I calculate the next...
  9. nughii

    Error in trapezoidal integration using a Programming language

    Summary:: I want to iterate a mathematical model using a programming language. The equation of the mathematical model is simple. The following is a brief explanation. I want to iterate a mathematical model using a programming language. The equation of the mathematical model is simple. The...
  10. nughii

    Where Is the Error in My PV Modeling Code?

    Hi, I want to ask again. 1. I am trying to validate my code above using the source code that I got from PVArray_Verification. In PVArray_Verification model, the source code is run with openModelica software. The following figure is a PV modeling in openModelica. My code already shows results...
  11. nughii

    Where Is the Error in My PV Modeling Code?

    I'm learning to make programming code (in Python 3.6) to calculate these equations. Based on your answers (@Chestermiller and @BvU), I have tried to make the code as follows: import numpy as np import matplotlib.pyplot as plt %matplotlib inline #INPUT T=298.15 G=1000 #PARAMETER Iscn=8.21...
  12. nughii

    Where Is the Error in My PV Modeling Code?

    Thank you very much for the explanation 🙏
  13. nughii

    Where Is the Error in My PV Modeling Code?

    Yikes. Thank you for your correction...🙏 I am sorry, I am still don't understand about this part. Would you like to explain the calculation steps in more detail, please? Thank you...
  14. nughii

    Where Is the Error in My PV Modeling Code?

    Thank you for the explanation... 1. Yes, I mean the value of ##I_0## is ## 9.8 \times 10^{-8}## A. 2. I am sorry, the value of ##Vt## is ##1.38 V##. 3. I think, if I'm not mistaken, I can use the second equation if the PV is coupled with a resistor. So, the second equation is ##V=I * R##...
  15. nughii

    Join the PF Community: A Warm Welcome to Our Forum!

    Hello everyone. Let me join this forum... Thank you
Back
Top