Sir I am working on Network Reconfiguration using OpenDSS via MATLAB COM interface. Can any one please help me regarding this.
Sir in my system I am having 37 lines (i.e. 33 are sectionalizing switches and 5 are tie lines) and I want to open one line at a time and then to calculate active power loss regarding particular opened line. Please help me.
Sir I want to calculate loss by opening one line at a time. For this I have implemented this code but it is not working correctly. Please help me. DSSText.Command = 'show Losses'; Losses = DSSCircuit.Losses; for t=1:37 if (LD_R1 == 1.0E8) DSSSolution.Solve; DSSText.Command = 'show Losses(t)'; end tloss(t) = Losses(t); end
Sir, I am using this command to call the value of resistance of line. But it showing error. Please help me regarding this. DSSCktElement=DSSCircuit.ActiveCktElement; for i=1:37 LD_R(i)=DSSCktElement.R1(i); end LD_R
Thank you sir for reply.
New line.1-2 bus1=SourceBus Bus2=2 R1=0.0922 X1=0.0470 New SwtControl.1-2 SwitchedObj=line.1-2 SwitchedTerm=1 New line.2-3 Bus1=2 Bus2=3 R1=0.4930 X1=0.2511 New SwtControl.2-3 SwitchedObj=line.2-3 SwitchedTerm=1 New line.3-4 Bus1=3 Bus2=4 R1=0.3660 X1=0.1864 Sir if i want to open three lines at time i.e. 1-2, 2-3, 3-4 then which command we have to use.
New line.1-2 bus1=SourceBus Bus2=2 R1=0.0922 X1=0.0470 New SwtControl.1-2 SwitchedObj=line.1-2 SwitchedTerm=1 New line.2-3 Bus1=2 Bus2=3 R1=0.4930 X1=0.2511 New SwtControl.2-3 SwitchedObj=line.2-3 SwitchedTerm=1 New line.3-4 Bus1=3 Bus2=4 R1=0.3660 X1=0.1864 Sir if i want to open to three lines at time i.e. 1-2, 2-3, 3-4 then which command we have to use.
In order to call the load for a system we are using: example: DSSLoad = DSSCircuit.Loads; LD_P = zeros(33,1); DSSLoad.First; for i=1:33 LD_P(i) = DSSLoad.kW; DSSLoad.Next; end Similarly for calling switch action , which command we can use?