![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/357655/image.jpeg)
Electrical Load Simulation for a House Simulink
27 次查看(过去 30 天)
显示 更早的评论
Hi,
I am looking for some assistance/advice on my simulation. I plan to simulate the electrical energy demand for a typical house over a 24 hour period, I have a fixed voltage source (from a fuel cell, not part of this simulation) 230V AC. In order to match the power demands from the house the current will have to increase or decrease. I have the power data required for a typical house and found how much the current will have to be during each half hourly increment (I=P/V) this has been put into a 1D look up table. Any advice or tips would be greatly appreciated
Below is what I have so far:
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/279808/image.png)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/279809/image.png)
2 个评论
JW
2020-9-8
Hi,
May i ask if you connect the 1D look up table to the MATLAB function block ?
Im currently simulating for a commercial load but instead of using 1D lookup table, i load the entire spreadsheet as my input to the MATLAB function block. However, im not able to connect the positive and negative terminal of the 230V AC source (as shown in the diagram below). If you're using MATLAB function block, may i know what do you code in MATLAB to do so?
Would appreciat if you could reply.![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/357655/image.jpeg)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/357655/image.jpeg)
回答(1 个)
Joel Van Sickel
2022-12-2
It looks like you are pretty close. Mostly, you need to add a ground wire to your voltage supply and house so the current can flow.
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Programmatic Model Editing 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!