Thanks, I gonna try it! Carlos
2015-01-20 14:33 GMT+00:00 Ray Zimmerman <[email protected]>: > This looks to me like it could be an issue with conflicting MATPOWER > versions in the Matlab path. Or, is it possible that you are loading a > MAT-file created with one version of MATPOWER and attempting to use it in a > different version of MATPOWER? > > I’d start by making sure you have the latest MATPOWER version on all > machines and that your Matlab path does not contain any older MATPOWER > functions. > > Ray > > > On Jan 20, 2015, at 8:55 AM, Carlos Cruzat Hermosilla <[email protected]> > wrote: > > Hi Shri > > Many thanks for your answer. > > The thing is that I am running the same code in three different computer > due to all of them have different characteristic such as speed processor, > RAM, etc. The code is exactly the same, and just in two of the computer run > without any inconvenient, however unfortunately I cannot run the code in > the fastest computer due to the error previously described. In addition all > of them have Matlab version R2013a (8.1.0.604). > > The Matpower commands are the following: > > opt = mpoption('VERBOSE',0,'OUT_ALL',1,'OPF_ALG_DC', 200); > [results,success]=runopf(celll{ry,1},opt); > > Thanks, > Carlos > > 2015-01-19 19:59 GMT+00:00 Abhyankar, Shrirang G. <[email protected]>: > >> I am not sure what's going on here as I don't have MATLAB R2013a. But, >> from the error, it looks like dynamic fields are not being able to be >> created for matlab objects. Are you sure nothing's changed in the MATPOWER >> code? Can you please send the MATPOWER command(s) you executed that lead to >> this error. >> >> Shri >> >> From: Carlos Cruzat Hermosilla <[email protected]> >> Reply-To: MATPOWER discussion forum <[email protected]> >> Date: Mon, 19 Jan 2015 10:23:30 +0000 >> To: MATPOWER discussion forum <[email protected]> >> Cc: "[email protected]" <[email protected]> >> Subject: Re: PF Does not run >> >> It is R2013a >> >> 2015-01-18 3:09 GMT+00:00 Abhyankar, Shrirang G. <[email protected]>: >> >>> What's its Matlab version? >>> >>> On Jan 17, 2015, at 5:46 PM, "Carlos Cruzat Hermosilla" < >>> [email protected]> wrote: >>> >>> Hi All >>> >>> I am trying to run my power flow in a different computer and I got the >>> attached error . I am pretty sure that it is nothing to do with the code, >>> due to this run perfectly in my computer, so could anybody help me to solve >>> this problem? >>> >>> Thanks, >>> >>> Carlos >>> >>> >>> Adding new fields to an object is not permitted. >>> >>> Error in opf_model/userdata (line 46) >>> om.userdata.(name) = val; >>> >>> Error in opf_setup (line 227) >>> om = userdata(om, 'Bf', Bf); >>> >>> Error in opf (line 219) >>> om = opf_setup(mpc, mpopt); >>> >>> Error in runopf (line 96) >>> [r, success] = opf(casedata, mpopt); >>> >>> Error in rundcopf (line 94) >>> [varargout{1:nargout}] = runopf(casedata, mpopt, >>> fname, solvedcase); >>> >>> Error in Simulation_Two (line 223) >>> [results,success]=rundcopf(celll{ry,1},opt); >>> %rundcopf(celll{ry,1},opt); >>> >>> >> > >
