Originally Posted by 2k1Toaster
Thanks a bunch, that worked. I guess I was calling the class.method wrong and not building the instance right.
That definately helped me a little better than the books I'm using, for some reason.
All that and I think I have the timer class down a little better, after seeing how you used it.
I think that flap moving all on it's own is coming sooner than later.
Yeah when I first started I had no idea how to use a class. Still to this day though, I dont understand using classes for things a regular method can do. The only time I use them is for obviously different pages, then custom types (like the Digital Outs, Anal. Ins, and Dig. Ins), and things that are the same that would be good to use on different pages (like a dec to binary string converter type thing).
The 1 class I took in C#, the professor was obsessed with classes. Drove me crazy. Had to make a class just to get/set a variable and add/subtract... Useless. Like Calculator class and then myCalcClass.Subtract(int a, int b)... :confused: Why not just a - b. So much simpler. That guy really ****ed me off. :D
***deletes his new calculator class in shame...***
Originally Posted by h3rk
While working on the heat transfer alg's I had an interesting thought. The OEM's take into account the shell of the car for conduction heat transfer, and the glass area for sun radiated heat transfer to tune their heat balance alg's that determine fan speed and door position. Glass plays a part in both of those factors. both in transparence and in coefficient of heat transfer. One trip to the local tint shop and we screw that all up. With this, we'll be able to tune for it:thumb:
You going to put a photosensor on the inside of the car, and outside and measure the difference to get your tint value? Or just measure from the inside as that is the light coming through?
EDIT: and you sure are up late!
I'm not sure that will allow me to compare apples and apples. There will be some info the user (or me somehow enetering it in table format for each model) gathering cabin volume and glass area. Then I hope by monitoring temperature changes over time, the other coefficients,fan curves, constants, etc. can be determined by analyzing what data can be obtained. Start the car park it in the shade and when coolant temp is right and whatnot, push the 'calibrate' button. After some time it may prompt for another run with different conditions. Once the coefficients are obtained, maybe only slight tuning would be required later, and the car would be ready to tackle dynamic situations like everyday use, using those constants, sunload, and temps to drive the door and the fan automatic-style.
And I might add so are you:high5:
Edit: I want to let it be known that I'm not ignoring humidity, but right now I have enough on my plate, that will come with time, it all will.
For what ever it's worth, I have some experience working with models and I have found that the easiest way to play with them is to use excel.
Can you tell me about your solenoid module? Where did you get it?
I got it at rockauto.com for $54, it's AC-Delco PN: 15-72182.
Originally Posted by mustanglou
I've seen modeling done in excel, and that is the first place I put the alg's to see what they should be, then I put it in the prog to see how it can be implemented.
First of the Uber Edition: http://www.mp3car.com/vbulletin/soft...ml#post1144574
If there is a graphic element in your skin that could be made easier let me know. I havent included labels or the equivalent of dead images yet. And I am still building the control options (what to do when clicked).