Recent content by nughii
-
Error in trapezoidal integration using a Programming language
Thank you very much for the advice 🙏- nughii
- Post #19
- Forum: Engineering and Comp Sci Homework Help
-
Error in trapezoidal integration using a Programming language
May I ask for advice, where should I start to fix this? Thank you- nughii
- Post #17
- Forum: Engineering and Comp Sci Homework Help
-
Error in trapezoidal integration using a Programming language
Yes, there is something wrong, but I am still looking for a solution.- nughii
- Post #16
- Forum: Engineering and Comp Sci Homework Help
-
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 ...- nughii
- Post #14
- Forum: Engineering and Comp Sci Homework Help
-
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...- nughii
- Post #9
- Forum: Engineering and Comp Sci Homework Help
-
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...- nughii
- Post #8
- Forum: Engineering and Comp Sci Homework Help
-
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?- nughii
- Post #5
- Forum: Engineering and Comp Sci Homework Help
-
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...- nughii
- Post #3
- Forum: Engineering and Comp Sci Homework Help
-
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...- nughii
- Thread
- Error Integals Integration Language Programming
- Replies: 18
- Forum: Engineering and Comp Sci Homework Help
-
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...- nughii
- Post #12
- Forum: Advanced Physics Homework Help
-
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...- nughii
- Post #11
- Forum: Advanced Physics Homework Help
-
Where Is the Error in My PV Modeling Code?
Thank you very much for the explanation 🙏- nughii
- Post #9
- Forum: Advanced Physics Homework Help
-
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...- nughii
- Post #7
- Forum: Advanced Physics Homework Help
-
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##...- nughii
- Post #5
- Forum: Advanced Physics Homework Help
-
Join the PF Community: A Warm Welcome to Our Forum!
Hello everyone. Let me join this forum... Thank you- nughii
- Thread
- Replies: 1
- Forum: New Member Introductions