Dear Michael,Thanks for your cooperation in my problem. I'll appreciate this.I use ADVISOR in other PC which has 2010 vesion of MATLAB. In this PC m files can be edited surprizingly.!!!
Could you believe that...?!!!!Firstly,I want to use 2014 version, is there any solution...???
Another concern is that i heard that fully removing ADVISOR is not possible, it create some file in C drive (Somewhere inside windows files) that we can't delete that. Is that true or just rumor ?!???
At last not least, how can i reach other people in this group? (i want to ask them about version of MATLAB they use...)
The vehicle dynamics calculations required for traction control and the wheel slip model assume that the front axle is the only drive axle. Simple steps can be taken to correct the weight transfer calculation if you wish to model a rear-drive vehicle, and an example wheel file that accomplishes this is included. Modeling a four-wheel drive vehicle requires involved Simulink reprogramming.
input.init.saved_veh_file='Parallel_defaults_in';[a,b]=adv_no_gui('initialize',input)input.grade.param={'speed'};input.grade.value={55};[a,b]=adv_no_gui('grade_test',input)input.modify.param={'veh_mass'};input.modify.value={1500};[a,b]=adv_no_gui('modify',input)
input.grade.param={'speed'};input.grade.value={55};[a,b]=adv_no_gui('grade_test',input)
but when I run first line, an error appear that says:Error in adv_no_gui case {initialize}:
Cannot find an exact (case-sensitive) match for 'Parallel_defaults_in'
The closest match is: PARALLEL_defaults_in in C:\Users\FARA SYSTEM\Desktop\HEM\Software\Advisor\advisor2003 SourceForge\saved_vehicles\PARALLEL_defaults_in.m
[adv_no_gui] going to keyboard -- type return to continue code or dbquit to exit
Please I wish to know the version of ADVISOR that contains the plot output variable 'fc_mech_out_pwr' as described in the appendices of the ADVISOR manual. My ADVISOR version is '2004-00-r0116' and it does not contain this variable in its list of graph plot variables.
Thanks sir.
Autosizing shows error not warning, actually. This message is appeared in Matlab command window.
If you take a closer look to the attached picture, you'll see three different line which present C-rate are drawn. I couldn't realize that which C-rate is present the kWh which I expected.
Thanks for your advices. Your advices are always inspiring for me and I appreciate it.In addition, I am wondering if you know a solution to not showing warning message in command widow of MATLAB. Is there any way to disappear them??
Yours Sincerely.Ali
Hi Michael,I am still looking forward to hearing your response about my previous post.I am trying to do optimization and I have lots of question about constrains. How can I add constrain in ADVISOR code.?
I dig into optimization problem which is in ADVISOR source codes. I am trying to generate some code similar to that example. Because I am trying to use GA algorithm and I need to change the code. In that I rewrote the code which you can see in attached files. I ran the main code without the constrain, It looks perfect and works without any problem. But I cannot add constrains to the main code. When I saw the default example of ADVISOR I really couldn't understand what that code mean! I don't know how that code restrict the acceleration test constrain to 8 second for example. (I mean 0 to 60 mph should be below 8 sec.)
warning('off','all') warning
In constrain code and the main code there are lots of vague point which I think you can help me understand them.In the main codes why ADVISOR uses dv_names , resp_names and con_names ??? My another question is what is the role of con=evalin('base','con'); in the first line of constrain code??? when I run it, MATLAB says undefined parameter con !!!!
Thanks anyway.
Regards.Ali