Activity for Paulo Radatz

  • Paulo Radatz Paulo Radatz committed [r3836] on Code

    Fixing sensor for load in COM interface

  • Paulo Radatz Paulo Radatz committed [r3835] on Code

    Fix on DDLL Delphi - It should give the sensor name

  • Paulo Radatz Paulo Radatz posted a comment on discussion Open Discussion

    Esqueci o vídeo: https://www.youtube.com/watch?v=BISBwraUQnY&t=9s

  • Paulo Radatz Paulo Radatz posted a comment on discussion Open Discussion

    Oi Francisca, Não é possível definir uma barra no OpenDSS usando New Bus. Eu acho que vai ser bom para você assistir o meu vídeo que apresento um guia de como aprender o OpenDSS em uma ordem que eu acho mais efetiva. Vai valer a pena você estudar um pouco mais seguindo o meu guia para te dar os fundamentos sobre a ferramenta. Abs,

  • Paulo Radatz Paulo Radatz posted a comment on discussion Open Discussion

    Hi Arielle, I've had a chance to work on your model. I fixed the voltages and the polarity of your transformer. I've attached the new file, and after a quick review, it appears to be working correctly now. Please let me know if you have any questions. Best regards, Paulo Radatz

  • Paulo Radatz Paulo Radatz committed [r3819] on Code

    Online documentation: Update FaultStudy hyperlink in About OpenDSS Capabilities

  • Paulo Radatz Paulo Radatz posted a comment on discussion Open Discussion

    Hi Arielle, When defining a single-phase transformer (phases=1) connected between phase and ground, you should define the kv property as line-to-neutral voltage. You define kv as line-to-line when you have a 3-phase transformer or a single-phase transformer connected between phases. Please correct this in the example you provided and let us know if it works. Best regards, Paulo Radatz

  • Paulo Radatz Paulo Radatz committed [r3818] on Code

    Online Documentation Main Updates:

  • Paulo Radatz Paulo Radatz committed [r3814] on Code

    Parameter 2: PVSystems.Sensor - This parameter returns the name of the sensor monitoring the active PV System. It was returning the element to which the sensor that monitors the PV system was connected.

  • Paulo Radatz Paulo Radatz committed [r3813] on Code

    Dloads.pas - Fixing Duty read property. 100% loads tests completed

  • Paulo Radatz Paulo Radatz posted a comment on discussion Open Discussion

    Hi Paul, I worked with OpenDSS and Pyomo back in 2021, as you can see in this report: https://www.epri.com/research/products/000000003002022952 You can think of your process in a few steps: OpenDSS is the tool that can model your system. It provides either Y primitive for each element or the entire Y system, along with other circuit information such as loads and regulator positions. OpenDSS can also calculate a power flow to initialize voltage values. Using the OpenDSS data and initial voltage results,...

  • Paulo Radatz Paulo Radatz posted a comment on discussion Beginners

    Hi Glon, py-dss-interface 2.0.4 uses the official OpenDSS version 9.8.0.1, but you can use the most recent version available on your computer. Please check this video: https://www.youtube.com/watch?v=sUZJfwor8xs&list=PLhdRxvt3nJ8xURfBipVoAx8du1a-S5YsL&index=2 The most recent OpenDSS version is likely 10.0.0.2. You might want to compare results from these two OpenDSS versions. Another important consideration is whether you have the same conditions in py-dss-interface and OpenDSS. Could you share your...

  • Paulo Radatz Paulo Radatz posted a comment on discussion Open Discussion

    Oi Vinicius, Dá uma olhada no paramêtro %reserve. Abs, Paulo Radatz

  • Paulo Radatz Paulo Radatz posted a comment on discussion Beginners

    Hi Abdullah, Yes, in your case, you can add an energymeter to the first PD element of each circuit. The results of the energymeters will capture only the power and energy of its zone/circuit. Here is an example I created using only OpenDSS. One important point is that everything we do using only OpenDSS, you can also do using Python and OpenDSS, as I show in these videos. https://www.youtube.com/watch?v=2VyyoZZVvbA&list=PLhdRxvt3nJ8w36keL4uGBNbWs5SRxEyW0 // -----------------------------------------------------------------------//...

  • Paulo Radatz Paulo Radatz posted a comment on discussion Beginners

    Hi Anshuman, Set mode=Daily Set stepsize=1s Set number=1 set time=(10, 1) ! OpenDSS simulates hour 10 second 2. (time + stepsize) solve If you want to watch a video about daily mode, check this out: https://www.youtube.com/watch?v=x5-f6e0UreI&list=PLhdRxvt3nJ8yZH-xVuE-4mifMHRlJK2n3&index=12 Best regards, Paulo Radatz

  • Paulo Radatz Paulo Radatz posted a comment on discussion Help

    Hi Abdullah, You can do it in daily or yearly mode. See code below: Set controlmode=Static Set mode=Daily Set stepsize=1h Set number=1 set hour=10 ! OpenDSS simulates hour 11. (hour + stepsize) solve If you want to watch a video about daily mode, check this out: https://www.youtube.com/watch?v=x5-f6e0UreI&list=PLhdRxvt3nJ8yZH-xVuE-4mifMHRlJK2n3&index=12 Best regards, Paulo Radatz

  • Paulo Radatz Paulo Radatz posted a comment on discussion Beginners

    To have results reported in pu, you should set the voltagebases in OpenDSS and do a calcvoltagebases. Check the documentation: https://opendss.epri.com/Options.html and https://opendss.epri.com/Executive2.html Or if you prefer to see a video: https://www.youtube.com/watch?v=xxXmV7H83U0&list=PLhdRxvt3nJ8yZH-xVuE-4mifMHRlJK2n3&index=2 Bear in mind that OpenDSS uses volts, amps, and ohms in its simulation process, not per unit values. OpenDSS can provide voltage in per unit by combining the voltage...

  • Paulo Radatz Paulo Radatz posted a comment on discussion Open Discussion

    Oi Yan, Você está misturando as versões. Assista essa playlist para você entender e resolver o seu problema https://www.youtube.com/watch?v=3KpQ_ORK3ew&list=PLhdRxvt3nJ8xURfBipVoAx8du1a-S5YsL Abs,

  • Paulo Radatz Paulo Radatz posted a comment on discussion Beginners

    Hi Masoud, If you are interested in understanding a little more about the set voltagebases, you can check this video: https://www.youtube.com/watch?v=xxXmV7H83U0&list=PLhdRxvt3nJ8yZH-xVuE-4mifMHRlJK2n3&index=2 Best regards, Paulo Radatz

  • Paulo Radatz Paulo Radatz posted a comment on discussion Open Discussion

    Hi Harsha, Perhaps you're in the wrong forum. This is a forum for OpenDSS, not OpenDDS. Paulo Radatz

  • Paulo Radatz Paulo Radatz posted a comment on discussion Help

    Hi Harsha, Perhaps you're in the wrong forum. This is a forum for OpenDSS, not OpenDDS. Paulo Radatz

  • Paulo Radatz Paulo Radatz posted a comment on discussion Open Discussion

    Hi Glon, It appears you are using attribute names that do not exist. May I ask where you came across the dss.Loads.AllNames() line of code? I recommend utilizing an IDE with code completion or referring to the documentation for the correct names: https://py-dss-interface.readthedocs.io/en/latest/ Best regards, Paulo Radatz

  • Paulo Radatz Paulo Radatz posted a comment on discussion Help

    Hi Abhishek, Please explore this folder: C:\Program Files\OpenDSS\Examples\InverterModels\PVSystem Hope it helps, Paulo Radatz

  • Paulo Radatz Paulo Radatz posted a comment on discussion Open Discussion

    Hi Adam, The kV and phases should be defined as follows: 1. 3ph element: kv=kVLL and phases=3, it can be wye or delta connection; 2. 1 element between phases: kv=kVLL and phases=1 (1 element); 3. 1 element between phase and ground or neutral. kv=kVLN = kVLL/sqrt(3) and phases = (1 element). Hope it helps, Paulo Radatz

  • Paulo Radatz Paulo Radatz posted a comment on discussion Open Discussion

    Hi Ivan, You can try to increase the number of power flow iteration using "set maxiteration". Hope it helps, Paulo Radatz

  • Paulo Radatz Paulo Radatz posted a comment on discussion Beginners

    Hi Miguel, This YouTube playlist might help you as well: https://www.youtube.com/watch?v=7ATNVI3Cghs&list=PLhdRxvt3nJ8yZH-xVuE-4mifMHRlJK2n3 Best regards, Paulo Radatz

  • Paulo Radatz Paulo Radatz posted a comment on discussion Help

    Hello Pedro, In the following video, I demonstrate how to change the OpenDSS version that py-dss-interface uses: https://www.youtube.com/watch?v=sUZJfwor8xs&list=PLhdRxvt3nJ8xURfBipVoAx8du1a-S5YsL&index=2 Please let me know if this is helpful. Best, Paulo Radatz

  • Paulo Radatz Paulo Radatz posted a comment on discussion Open Discussion

    Hi Arthur, It appears you are mixing the syntax of version 1 and version 2 of py-dss-interface. Could you please upgrade to version 2 and try again? See this video: https://www.youtube.com/watch?v=3KpQ_ORK3ew&list=PLhdRxvt3nJ8xURfBipVoAx8du1a-S5YsL Let me know if this resolves the issue. Thanks, Paulo Radatz

  • Paulo Radatz Paulo Radatz posted a comment on discussion Experts

    Hi Zahid, Yes, you can achieve this by selecting appropriate volt-var and volt-watt curves. For example, if you use the IEEE1547 curves, you'll find that the inverter requires vars sooner than the active power when its terminal voltage increases. See one example that it requires var and not limit kw. Clear New Circuit.TheveninEquivalente bus1=A pu=1.0 basekv=13.8 ~ Z0=[10, 10] Z1=[10, 10] New XYCurve.Eff npts=4 xarray=[.1 .2 .4 1.0] yarray=[1 1 1 1] New XYCurve.FatorPvsT npts=4 xarray=[0 25 75 100]...

  • Paulo Radatz Paulo Radatz posted a comment on discussion Open Discussion

    Hi Arthur, I recommend using the latest version of py-dss-interface for your project. You can find more information about the differences between version 2 and version 1 in this YouTube video: https://www.youtube.com/watch?v=3KpQ_ORK3ew&list=PLhdRxvt3nJ8xURfBipVoAx8du1a-S5YsL For hosting capacity, we published a Hosting Capacity webinar last year and shared examples of OpenDSS and Python. Please find the links below: Webinar - https://www.epri.com/events/1828F14B-73A7-4901-A753-F914A26C4C5A Codes...

  • Paulo Radatz Paulo Radatz posted a comment on discussion Open Discussion

    Hi Hossam, There's a YouTube playlist explaining the basic concepts for controlling OpenDSS via a programming language. In this particular playlist, I use Python, but the concepts are applicable to any programming language, including MatLab. Since you're not using Python, I recommend starting with video number 4: https://www.youtube.com/watch?v=ruTMX1VJI-4&list=PLhdRxvt3nJ8zlzp6b_-7s3_YwwlunTNRC&index=4 Best regards, Paulo Radatz

  • Paulo Radatz Paulo Radatz committed [r3733] on Code

    DDLL DStorages.pas: fix the indexes of StoragesI

  • Paulo Radatz Paulo Radatz posted a comment on discussion Beginners

    Try to set kw to 0.0001

  • Paulo Radatz Paulo Radatz posted a comment on discussion Beginners

    Hi Bryan, You can use a generator. New Loadshape.24h_1h npts=24 interval=1 ~ pmult=(0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0) ~ qmult=(1 0.9 0.8 0.7 0.6 0.5 0.4 0.3 0.2 0.1 0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 0.1 0.2 0.3 0.4) new generator.gen phases=3 bus1=2 kw=0 kvar=200 kv=12.47 daily=24h_1h Give it a try! Best regards, Paulo Radatz

  • Paulo Radatz Paulo Radatz posted a comment on discussion Open Discussion

    Oi Juliana, você precisa ter as seguintes linhas de códigos começando o seu código: clearall New circuit. Eu acho que valeria a pena você seguir a minha playlist no YouTube, fazendo tudo que eu faço: https://www.youtube.com/watch?v=zMAGfTxKjjA&list=PLhdRxvt3nJ8xE9lZL2hgk8RqFDstTZB8h Boa sorte! Abs,

  • Paulo Radatz Paulo Radatz posted a comment on discussion Help

    Oi Juliana, você precisa definir o linecode 24127169C-1N_2 antes da linha 16057383. Dá uma olhada nesse vídeo: https://www.youtube.com/watch?v=rABMCD3bJqk&list=PLhdRxvt3nJ8zPYT9gH8rWPLFv3pPEhEtz&index=8 Abs,

  • Paulo Radatz Paulo Radatz posted a comment on discussion Help

    Hi Allan, In 2021, I experimented with invcontrol to create a voltage-controlled bus. However, I believe this feature isn't sufficiently developed and tested for us to include it in the documentation or OpenDSS help. Essentially, this feature uses the control loop to adjust the reactive power until the voltage setpoint is reached. I'm sharing this with you so you can test it and see if it's functional. Here is the DSS code: Clear New Circuit.TheveninEquivalente bus1=A pu=1.0 basekv=13.8 ~ Z0=[10,...

  • Paulo Radatz Paulo Radatz posted a comment on discussion Open Discussion

    Oi Francisca, Para comentar uma linha de comando no OpenDSS, você pode usar // or !. No seu caso, você está usando \. Arrumando isso, o seu código vai funcionar. Abs, Paulo Radatz

  • Paulo Radatz Paulo Radatz posted a comment on discussion Beginners

    Hi Affonso, First, familiarize yourself with the differences between version 1 and 2 of the py-dss-interface Python package. I recommend this YouTube video for that: https://www.youtube.com/watch?v=3KpQ_ORK3ew&list=PLhdRxvt3nJ8xURfBipVoAx8du1a-S5YsL Next, consider using an IDE like PyCharm for translation because it offers code completion. Lastly, look through some of my examples: https://github.com/PauloRadatz/py-dss-interface-examples In your case, I suggest starting with this one: https://github.com/PauloRadatz/py-dss-interface-examples/blob/main/loop_loads.py...

  • Paulo Radatz Paulo Radatz posted a comment on discussion Experts

    Hi, Do you have an enerymeter in your model? See this YouTube videos, I show how to fix your problem: https://www.youtube.com/watch?v=5ahpsh-bR7o&list=PLhdRxvt3nJ8yZH-xVuE-4mifMHRlJK2n3&index=11 Best regards, Paulo Radatz

  • Paulo Radatz Paulo Radatz posted a comment on discussion Help

    Hi Isaac, For example, your resistor2 is connected at node 2. However, in the Export Currents, you'll see that the current for resistor2 is listed in the I1_1 column. This doesn't mean that the current is at node 1, rather it indicates that it's the first available node current for that element. This is similar to when you request the currents of an element using COM or DLL. I recommend checking the 'Show Current Elements' and comparing it with the Export Current for a better understanding. Best...

  • Paulo Radatz Paulo Radatz posted a comment on discussion Help

    Hi Isaac, The results seem to be correct. However, the file you created might be causing some confusion. I recommend looking at the file created using 'Show Current Elements'. I've made two YouTube videos explaining the contents of the 'Current' file results. 1 - https://www.youtube.com/watch?v=cjpXK2VnlP4&list=PLhdRxvt3nJ8yZH-xVuE-4mifMHRlJK2n3&index=7 2 - https://www.youtube.com/watch?v=-O-1r_seglQ&list=PLhdRxvt3nJ8yZH-xVuE-4mifMHRlJK2n3&index=8 Best regards, Paulo Radatz

  • Paulo Radatz Paulo Radatz posted a comment on discussion Open Discussion

    Oi Yan, Use o comando dss.text("save circuit") para salvar o modelo que está na memória na mesma pasta do arquivo master do OpenDSS. Em seguida, abra esse modelo no OpenDSS para debugar. Abs,

  • Paulo Radatz Paulo Radatz posted a comment on discussion Open Discussion

    Oi Ana, Pode compartilhar o código completo? Se você está fazendo uma simulação SnapShot, você precisa do comando Sample depois da simulação. Abs, Paulo Radatz

  • Paulo Radatz Paulo Radatz posted a comment on discussion Open Discussion

    Oi Yan, No Master tem o monitor Subsp definido e não Subs_p. Eu sugiro que você faça o monitor funcionar só com o OpenDSS.exe primeiro, e depois fazer funcionar em Python. Abs,

  • Paulo Radatz Paulo Radatz modified a comment on discussion Open Discussion

    Oi Yan, Eu verificaria duas coisas no seu código: 1 - Você deve ativar o monitor usando dss.monitors.name="nomedomonitor", e não usando dss.monitors._name_write("nomedomonitor"). Quando você vê um método começando com _, isso geralmente significa que é privado e não deve ser usado pelo usuário. 2 - Você está ativando o monitor Subs_p, onde ele está definido? Abs, Paulo Radatz

  • Paulo Radatz Paulo Radatz posted a comment on discussion Open Discussion

    Oi Yan, Eu verificaria duas coisas no seu código: 1 - Você deve ativar o monitor usando dss.monitors.name="nomedomonitor", e não usando dss.monitors.name_write("nomedomonitor"). Quando você vê um método começando com , isso geralmente significa que é privado e não deve ser usado pelo usuário. 2 - Você está ativando o monitor Subs_p, onde ele está definido? Abs, Paulo Radatz

  • Paulo Radatz Paulo Radatz posted a comment on discussion Help

    Hi Muhammed, The invcontrol algorithm automatically adjusts the deltaq_factor and deltap_factor when these values aren't defined. This was an update in the OpenDSS tool, as discussed in this paper: https://ieeexplore.ieee.org/document/9583087 To understand the purpose of the delta factors better, refer to page 57 of this report: https://publicdownload.epri.com/PublicAttachmentDownload.svc/AttachmentId=74500 As for your question, I suggest you leave VarChangeTolerance and VoltageChangeTolerance as...

  • Paulo Radatz Paulo Radatz posted a comment on discussion Help

    Hi Prakash, Have you used monitors or energymeter to compare the results of a daily simulation? Could you show me the power at the feederhead with and without PVsystem? Best regards, Paulo Radatz

  • Paulo Radatz Paulo Radatz posted a comment on discussion Open Discussion

    Oi Franciely, Você tem algum gerador na rede? Se não tiver, não precisa usar o modo dynamics. Confira essa playlist sobre curto: https://www.youtube.com/watch?v=BBGkE99OHZ8&list=PLhdRxvt3nJ8zCCak2ZdnIT_0IfIOVZZGQ Abs, Paulo Radatz

  • Paulo Radatz Paulo Radatz posted a comment on discussion Help

    Hi Prakash, You are comparing results of hour 48 which I think the irradiance is 0, so the pvsystem will not generate. You should compare results using Monitor, Energymeter, or DI results. See those two videos: 1 - https://www.youtube.com/watch?v=x5-f6e0UreI&list=PLhdRxvt3nJ8yZH-xVuE-4mifMHRlJK2n3&index=12 2 - https://www.youtube.com/watch?v=t_kTBjykyxM&list=PLhdRxvt3nJ8yZH-xVuE-4mifMHRlJK2n3&index=13 Best regards, Paulo Radatz

  • Paulo Radatz Paulo Radatz posted a comment on discussion Open Discussion

    Hi Gajendra, I have a tutorial (in Portuguese) that covers what you're asking for. I used bus 680 instead of 611. In videos 13, 15, 16, and 17, I demonstrate what you're looking for. https://www.youtube.com/watch?v=pRICYtmHulE&list=PLhdRxvt3nJ8xE9lZL2hgk8RqFDstTZB8h&index=15 I hope it's helpful, Paulo Radatz

  • Paulo Radatz Paulo Radatz posted a comment on discussion Open Discussion

    Hi Abdullah, OpenDSSDirect.py is not maintained by EPRI. I recommend contacting the developers through their communication channels. Best regards, Paulo Radatz

  • Paulo Radatz Paulo Radatz posted a comment on discussion Help

    Hi Octavio, Check out the documentation about it: https://opendss.epri.com/CircuitReductionforVersion85.html Best regards, Paulo Radatz

  • Paulo Radatz Paulo Radatz posted a comment on discussion Beginners

    Hi Satyendra, See this discussion: https://sourceforge.net/p/electricdss/discussion/861976/thread/b103266892/ It might help you. Best regards, Paulo Radatz

  • Paulo Radatz Paulo Radatz posted a comment on discussion Open Discussion

    Hi Gajendra, See if this discussion helps you: https://sourceforge.net/p/electricdss/discussion/861976/thread/b103266892/ Best regards, Paulo Radatz

  • Paulo Radatz Paulo Radatz posted a comment on discussion Open Discussion

    Hi Mahmoud, Change your XYcurve to the below one and try again: New XYcurve.VW_curve npts=4 yarray=[1 1 0 0] xarray=[1 1.06 1.08 1.1] Let me know if it works now. Best regards, Paulo Radatz

  • Paulo Radatz Paulo Radatz posted a comment on discussion Help

    Hi Lauraz, Here are my responses: (1) For a 1 pu voltage, you should define the basekV with more decimal points, also update the voltage bases value. The value should be 0.4/sqrt(3)=0.23094, which will provide the 1 pu. OpenDSS uses actual values (volts, amps, and ohms) in methods like power flow internally. Therefore, the results in V remain the same even if the basekV varies slightly. (2) The voltage definition for circuit elements is generally what you mentioned. For loads and transformers, however,...

  • Paulo Radatz Paulo Radatz posted a comment on discussion Help

    Hi Lauraz, The following Python code is used in a course I teach in Brazil. It solves an exercise where students are asked to calculate the peak hour and plot the active powers. This script can provide insight into what can be done in Julia. I hope it helps. # -*- coding: utf-8 -*- # @Author : Paulo Radatz # @Email : paulo.radatz@gmail.com # @Curso : PECE Poli USP # @File : 1.4-1.py # @Software: PyCharm import pandas as pd import py_dss_interface import os import pathlib import numpy as np import...

  • Paulo Radatz Paulo Radatz posted a comment on discussion Help

    Hi Lauraz, The circuit below should meet your needs. Please let me know if you have any questions about the changes I've made: Clear New Circuit.Test1_1pheq basekv=0.23 phases=1 bus1=B1.1 MVASC1=1e6 MVASC3=1e6 New Linecode.Z1eq units=km nphases=1 ~ Rmatrix=(0.16799999999999995) ~ Xmatrix=(0.40378020300000006) ~ Cmatrix=(0) New Line.Line1 bus1=B1.1 bus2=B2.1 linecode=Z1eq length=0.1 units=km New Load.Load123 phases=1 bus1=B2.1 kv=0.23 model=1 kVA=25 pf=0.9 vminpu=0.1 vmaxpu=2 Set voltagebases=[0.4]...

  • Paulo Radatz Paulo Radatz posted a comment on discussion Open Discussion

    Try this one: https://www.epri.com/events/1828F14B-73A7-4901-A753-F914A26C4C5A

  • Paulo Radatz Paulo Radatz posted a comment on discussion Beginners

    Hi Mudi, I have one example in Python that you can use to translate to MatLab https://github.com/PauloRadatz/py-dss-interface-examples/blob/main/loop_loads.py In line 29, I am getting powers, but you can ask the voltages. Best regards, Paulo Radatz

  • Paulo Radatz Paulo Radatz posted a comment on discussion Beginners

    Hi Mudi, You should compare "show voltages LN nodes" with AllBusVmagPu. You can refer to the online documentation here: https://opendss.epri.com/Show2.html In your script, I would suggest defining the set mode before executing the solve command. I have some additional resources related to the topic. This video explains the different Voltage reports when using the Show command: https://www.youtube.com/watch?v=UifMCDS3wJE&list=PLhdRxvt3nJ8yZH-xVuE-4mifMHRlJK2n3&index=5 There's also a playlist that...

  • Paulo Radatz Paulo Radatz posted a comment on discussion Open Discussion

    Hi Aryan, Adding to what Davis said. If you're interested in the properties of the element without the interface, you can follow what I show in those two video: 1 - https://www.youtube.com/watch?v=vF9ZJOFbCd4&list=PLhdRxvt3nJ8zlzp6b_-7s3_YwwlunTNRC&index=7 2 - https://www.youtube.com/watch?v=2OPACzD42GY&list=PLhdRxvt3nJ8zlzp6b_-7s3_YwwlunTNRC&index=8 Following Davis's point, see my approach in this video: 1 - https://www.youtube.com/watch?v=vL_EBW9ERoc&list=PLhdRxvt3nJ8zlzp6b_-7s3_YwwlunTNRC&index=11...

  • Paulo Radatz Paulo Radatz posted a comment on discussion Help

    Hi Lauraz, Apologies for the oversight. Roger is correct, your load and PV systems currently have no path for the current. Here's the correct script in case you want to connect your load and PV systems between the phase and neutral. Clear New Circuit.Test2 basekv=0.4 baseMVA=0.2 bus1=B1 MVASC1=1e6 MVASC3=1e6 New Linecode.Zabcn units=km nphases=4 ~ rmatrix=(0.227217624 0.059217624 0.059217624 0.059217624 |0.059217624 0.227217624 0.059217624 0.059217624 |0.059217624 0.059217624 0.227217624 0.059217624...

  • Paulo Radatz Paulo Radatz posted a comment on discussion Help

    Hi Lauraz I grounded the neutral in bus B1, which resolved the issue. New Line.Line1 bus1=B1.1.2.3.0 Bus2=B2.1.2.3.4 linecode=Zabcn length=0.1 units=km Try doing the same on your end to see if it works. I hope this helps, Paulo Radatz

  • Paulo Radatz Paulo Radatz posted a comment on discussion Open Discussion

    I did not. Unfortunately, it appears I will not have the time to look at the details of it.

  • Paulo Radatz Paulo Radatz posted a comment on discussion Open Discussion

    Hello, In this instance, you should define one 'invcontrol' for each 'PVSystem'. To do this, use the 'DERlist' property of the 'invcontrol' to list the 'PVSystem' that will be controlled by this 'invcontrol'. For example: New invcontrol.pv1 DERlist=[PVSystem.PV1] … New invcontrol.pv4 DERlist=[PVSystem.PV4] I hope this helps, Paulo Radatz

  • Paulo Radatz Paulo Radatz posted a comment on discussion Open Discussion

    Hi Ridwan, Have you tested your method on a smaller circuit, such as one with less than 10 buses, to ensure that the method itself is not the issue? You can use the circuit I used in the webinar. Best regards, Paulo Radatz

  • Paulo Radatz Paulo Radatz posted a comment on discussion Beginners

    Oi Yan, A versão 2 do py-dss-interface apresenta uma sintaxe diferente da versão 1. Para se adaptar a essa mudança, é necessário atualizar seu código, o que é bastante simples. Primeiro, substitua dss = py_dss_interface.DSSDLL() por dss = py_dss_interface.DSS(). A nova sintaxe agrupa os métodos de um elemento ou classe do OpenDSS em um atributo do objeto dss. Por exemplo, os métodos do circuito serão acessados usando dss.circuit. e as linhas com dss.lines. . O PyCharm será de grande ajuda para mostrar...

  • Paulo Radatz Paulo Radatz posted a comment on discussion Open Discussion

    Hi Ridwan, Here is how you can do it: https://github.com/PauloRadatz/py-dss-interface-examples/blob/main/loop_loads.py Best regards, Paulo Radatz

  • Paulo Radatz Paulo Radatz posted a comment on discussion Open Discussion

    Here is one example in python: https://github.com/PauloRadatz/py-dss-interface-examples/blob/main/hourly_simulation.py

  • Paulo Radatz Paulo Radatz posted a comment on discussion Open Discussion

    Hi Ridwan, Are you conducting Hosting Capacity using QSTS simulation? How do you determine the maximum voltage across all buses and time steps? We have an excellent resource on Hosting Capacity with OpenDSS code examples: https://epri.webex.com/recordingservice/sites/epri/recording/e55d15931e73103cbffb005056819ca2/playback You can find the OpenDSS code examples using the QR code in the presentation. Best regards, Paulo Radatz

  • Paulo Radatz Paulo Radatz posted a comment on discussion Open Discussion

    Oi Yan, O problema está no acento presente na string dss_file. Tente colocar seu Master em outra pasta que tenha um caminho sem acento. Outra coisa, você pode atualizar o py-dss-interface para a versão 2.0.2 e usar os exemplos em https://github.com/PauloRadatz/py-dss-interface-examples Me avisa se deu certo. Abs, Paulo Radatz

  • Paulo Radatz Paulo Radatz posted a comment on discussion Help

    Hi Ibrahim, Take a look at this video where I illustrate a Power plot https://www.youtube.com/watch?v=t_kTBjykyxM&list=PLhdRxvt3nJ8yZH-xVuE-4mifMHRlJK2n3&index=13. As mentioned in the video, you will notice three curves. When these curves have the same value, the blue curve (node 3) overlays the others, representing 33% of the total power. To confirm that the PV is generating its maximum power, you can refer to the 'show powers'. Best regards, Paulo Radatz

  • Paulo Radatz Paulo Radatz posted a comment on discussion Open Discussion

    Diego, Here are some examples for you: 1 - https://github.com/PauloRadatz/py-dss-interface-examples/blob/main/hourly_simulation.py 2 - https://github.com/PauloRadatz/py-dss-interface-examples/blob/main/hourly_simulation_v2.py 3 - https://github.com/PauloRadatz/py-dss-interface-examples/blob/main/hourly_simulation_v3.py You can ensure that you are doing things correctly by defining an energymeter and comparing results at the end of the simulation, whether you simulate each hour or the entire time...

  • Paulo Radatz Paulo Radatz posted a comment on discussion Open Discussion

    The reason of the differences are the controls. To get the same asnwer add the follow command before the solve command: set controlmode=off Best regards, Paulo Radatz

  • Paulo Radatz Paulo Radatz posted a comment on discussion Open Discussion

    For the first hour, I would suggest the first option: set mode=daily set number=1 set hour=0 set stepsize=1h Your second option is hour 25, which might have the same load level as hour 1. However, we might have different control states that could provide different results. Please compare the regcontrol's taps and capacitor status. I am curious about what you are exploring here. Best regards, Paulo Radatz

  • Paulo Radatz Paulo Radatz posted a comment on discussion Beginners

    Hi Diego, With the name of your loadshape, for instance, My_Loadshape, use the command below: dss.text("plot loadshape object=My_Loadshape") Best regards, Paulo Radatz

  • Paulo Radatz Paulo Radatz posted a comment on discussion Open Discussion

    Hi Ridwan, For the files, check this link: https://epri.app.box.com/folder/221129742048?s=l1y0vyrj1dg3i0dadoseo97c9wj66pys And the recording link works for me and for people I shared (Try it again and if you have issues, send me a screenshot of the problem): https://epri.webex.com/recordingservice/sites/epri/recording/e55d15931e73103cbffb005056819ca2/playback

  • Paulo Radatz Paulo Radatz posted a comment on discussion Open Discussion

    Hi Ridwan, EPRI has done a Hosting Capacity public webinar: https://epri.webex.com/recordingservice/sites/epri/recording/e55d15931e73103cbffb005056819ca2/playback In the webinar, I show examples of Python and OpenDSS codes, one of them does what you want: https://epri.app.box.com/folder/221752638732 Best regards, Paulo Radatz

  • Paulo Radatz Paulo Radatz posted a comment on discussion Open Discussion

    Hi Ridwan, Two options: 1 - set mode=daily set number = 1 set hour=20 set stepsize= 1h 2- set mode=daily set number = 21 set hour=0 set stepsize= 1h Best regards, Paulo Radatz

  • Paulo Radatz Paulo Radatz posted a comment on discussion Beginners

    Hi Diego, The py-dss-interface has been tested with the OpenDSS version that comes with it. It will work if you change the line dss = py_dss_interface.DSSDLL(r"C:\Program Files\OpenDSS") to dss = py_dss_interface.DSSDLL(). I also recommend you to update the py-dss-interface to version 2. Best regards, Paulo Radatz

  • Paulo Radatz Paulo Radatz posted a comment on discussion Open Discussion

    Hi Ta, Check out this Storage property: %stored Best regards, Paulo Radatz

  • Paulo Radatz Paulo Radatz posted a comment on discussion Open Discussion

    Dá uma olhada nessa playlist: https://www.youtube.com/watch?v=BBGkE99OHZ8&list=PLhdRxvt3nJ8zCCak2ZdnIT_0IfIOVZZGQ

  • Paulo Radatz Paulo Radatz posted a comment on discussion Help

    Hi Furkancan, The YouTube playlist is based on version 1 of py-dss-interface. You can install it through pip in your terminal by typing pip install py-dss-interface==1.0.2. In order to make the package more Python-friendly, we updated some of its syntax and released it as version 2. This is the version you're currently using, and I recommend you continue to do so. For code completion, replace py_dss_interface.DSSDLL() with py_dss_interface.DSS(). The documentation is at https://py-dss-interface.readthedocs.io/en/latest/...

  • Paulo Radatz Paulo Radatz posted a comment on discussion Beginners

    Hi Hendrik, You can do it by making the impedance of Thevenin very small. See two examples below: 1 - New Circuit.Thevenin bus1=SourceBus pu=1.1 basekv=13.8 angle=0 ~ Z0=[0.000000001, 0.000000001] Z1=[0.000000001, 0.000000001] 2 - New Circuit.Thevenin bus1=SourceBus pu=1.1 basekv=13.8 model=ideal Best regards, Paulo Radatz

  • Paulo Radatz Paulo Radatz posted a comment on discussion Beginners

    Hi Yusuf, I've noticed that your code includes non-existent attributes and methods of the dss object like dss.load and dss.snap.log.start(). Could you please explain how you came up with them? For reference, you might want to consult the documentation: https://py-dss-interface.readthedocs.io/en/latest/ Here is an example of how to run a power flow using a dss file: dss = py_dss_interface.DSS() dss_file = r"C:\Program Files\OpenDSS\IEEETestCases\13Bus\IEEE13Nodeckt.dss" dss.text(f"compile [{dss_file}]")...

  • Paulo Radatz Paulo Radatz posted a comment on discussion Beginners

    Hi Yusuf, Even though you're using the COM interface, I recommend you watch this YouTube playlist where I use the DirectDLL version of OpenDSS. It can help you understand the basic concepts of controlling OpenDSS and apply it to your case: https://www.youtube.com/watch?v=QRnpLuMipFs&list=PLhdRxvt3nJ8zlzp6b_-7s3_YwwlunTNRC Best regards, Paulo Radatz

  • Paulo Radatz Paulo Radatz posted a comment on discussion Open Discussion

    Hi Vihanga, Could you check if you have done the steps I show in those two videos? 1 - https://www.youtube.com/watch?v=x5-f6e0UreI&list=PLhdRxvt3nJ8yZH-xVuE-4mifMHRlJK2n3&index=12 2 - https://www.youtube.com/watch?v=t_kTBjykyxM&list=PLhdRxvt3nJ8yZH-xVuE-4mifMHRlJK2n3&index=13 Best regards, Paulo Radatz

  • Paulo Radatz Paulo Radatz posted a comment on discussion Beginners

    Hi Vinushika, When you run your code, check if a pop-up interface is generated by OpenDSS. The reason for this problem might be that you have not activated the line from which you want to get the bus1. It is possible that another type of element, such as a load, is activated instead. Watch this video to better understand the issue: https://www.youtube.com/watch?v=IlqwmtJwn4A&list=PLhdRxvt3nJ8zlzp6b_-7s3_YwwlunTNRC&index=6 I would also suggest using version 2 of the py-dss-interface. To use it, you...

  • Paulo Radatz Paulo Radatz posted a comment on discussion Beginners

    Hi Octavio, The load model is changed to constant impedance when the voltage at the load terminal is outside the voltage range defined by the vminpu and vmaxpu properties of the load. By default, these properties are set to 0.95 and 1.05 pu, respectively. If you want to keep the load model as constant power for a greater range, simply change the vminpu and vmaxpu properties of the load. Best regards, Paulo Radatz

  • Paulo Radatz Paulo Radatz committed [r3660] on Code

    OpenDSS Webinar 2023 presentation

  • Paulo Radatz Paulo Radatz posted a comment on discussion Open Discussion

    I have videos in Portuguese: https://www.youtube.com/watch?v=BBGkE99OHZ8&list=PLhdRxvt3nJ8zCCak2ZdnIT_0IfIOVZZGQ You might be able to use the Youtube's Auto-Translate feature. Best regards, Paulo Radatz

  • Paulo Radatz Paulo Radatz committed [r3645] on Code

    Virtual-2023 folder to save resources we will be using in the webinar

  • Paulo Radatz Paulo Radatz posted a comment on discussion Open Discussion

    Hi Sourav, Have you checked the COM Interface document? You can find it in OpenDSS by going to the Help menu and selecting COM Interface. Alternatively, you can run the command COMHelp. I also have some old YouTube videos in Portuguese related to using Matlab with OpenDSS that might be helpful. https://www.youtube.com/watch?v=xota4TGQpPo&list=PLhdRxvt3nJ8xgtlg6vvm9TGmqu9YWxpDW&index=10 Additionally, I have created YouTube videos in English that demonstrate using Python with OpenDSS. You can watch...

  • Paulo Radatz Paulo Radatz posted a comment on discussion Help

    Hi Aylin, There is an important concept in OpenDSS called the Active Element. When using the dss.cktelement..., the available methods will provide results for the active element. You can check what the active element is by using dss.cktelement_name(). Now, the question is how to activate an element. There are a few ways to do this. One way is to use dss.circuit_set_activeelement("ClassName.ObjName"). For example, ClassName.ObjName could be line.MyLine. In these videos, I provide more detailed explanations:...

  • Paulo Radatz Paulo Radatz committed [r3639] on Code

    Fixing some bugs on directDLL with the new way to access the old variants.

1 >