Install Steam
login
|
language
简体中文 (Simplified Chinese)
繁體中文 (Traditional Chinese)
日本語 (Japanese)
한국어 (Korean)
ไทย (Thai)
Български (Bulgarian)
Čeština (Czech)
Dansk (Danish)
Deutsch (German)
Español - España (Spanish - Spain)
Español - Latinoamérica (Spanish - Latin America)
Ελληνικά (Greek)
Français (French)
Italiano (Italian)
Bahasa Indonesia (Indonesian)
Magyar (Hungarian)
Nederlands (Dutch)
Norsk (Norwegian)
Polski (Polish)
Português (Portuguese - Portugal)
Português - Brasil (Portuguese - Brazil)
Română (Romanian)
Русский (Russian)
Suomi (Finnish)
Svenska (Swedish)
Türkçe (Turkish)
Tiếng Việt (Vietnamese)
Українська (Ukrainian)
Report a translation problem
The advantage with using an IC is that you can use one sensor and switch modes.
You get a horizontal angle and only need to add 90,180 or 270 correction depending on how you placed the panels.
The vertical is in degrees and has to be converted to % for the panels.
I would really like to know the speed: How many lines per second does MIPS processed?
Depending on this I can see if it will make sense to code a Sin approximation or if this solution would be too slow.
I hope that I can import a mips program on a text file /IC simluator into the game and don't have to code it all in the game..uh..
Perfect Solar Tracking
Bushwackah's Solar Tracking V 1.0
Please view setup video on his site. Very power efficient as well.
His code is solid and I have had no issues since day one. His video was excellent. Got that going months ago.
Sounds good so I guess I will simple code the sin function myself.
I like to develope things by myself. More fun and you always learn something by doing the hard stuff yourself. The formulas I provided above is a perfect tracking solution.
https://stationeering.com/tools/ic
I prepared this code below. Didn't test it in game yet.
Next to Sin,Cos etc PI is missing.
Codeing is nice and straight forward and that simulator useable. That's cool! Thanks Devs!
The 128 line limit is bothering me thought.
The Acos approximation converges very very slow so this only leaves space for an inaccurate Acos approx. I could code a loop but then I guess there is a speed reason for the 128 line limit and a loop executing more lines in a tick maybe causes a timing problem!?
I guess my solution is good enough I will see.
Do I have to connect a batch writer on d3 and d4 and sensor reader on d0 and d1 or can I connect those devices and actors directly to the IC?
(Formula With Eclipse (Mars)):
No. There are no trigonometric functions on the IC10. I personally think there should be a more advanced IC11 that incorporates those because solving spherical triangles gets really computationally heavy using sine approximation. But single sensor solar tracking on Mimas is "fine" using very crude sine approximation. (Depending on your criteria of what is considered "fine".)
If you are using two sensors you can always use clever sensor placement to get perfect (99+% efficiency) solar tracking with no trigonometric calculations needed, since you already get the needed angles from the sensor. And I have no idea what is going on with your formulas, since "top daylight sensor" and "east daylight sensor" both mean next to nothing without the mode and orientation information. But even without understanding what is going on there, I can tell with absolute certainty that your formula is needlessly complicated if you are already using two sensors.
Where you start needing trigonometry is in a setup where you have one or zero sensors. And as Dani pointed out, you can use clever sensor placement and clever mode switching to get one sensor to act sort of as two sensors. You get 98+% efficiency using single sensor with mode switching, with no trigonometric calculations needed.
And I absolutely agree with you on figuring out things by yourself. As things are right now, there is no sustainable game loop, and learning to play the game is the game. And if you are skipping the part where you develop solutions to run your base, and just copy ready made solutions made by others, you end up skipping most of the game.
PS. It's 128 lines per tick, not 125. Or 512 lines per second.
PPS. I don't think "eclipse" means what you think it means.
Well the Sensor placement is in my earlier thread from a long time ago:
https://steamcommunity.com/sharedfiles/filedetails/?id=1529971024
https://steamcommunity.com/app/544550/discussions/0/1732089092442876694/
In short I made absolutly NO requirements to the sensors other than placeing them flat on a surface with the normal pointing skyward (Top Sensor) or Eastward (East Sensor).
Also I do not make use of Sensor Modes and let them in their default mode. I saw descriptions where you first have to switch the sensor mode manual and such...urgh
And placeing Sensor upside down and such fun that I have seen..that is really not my taste.
So what you have for free with the Sensor mode is what I calculate and this is where you need the trigonometry. It's not complicated. Normal math operations and if the IC10 provided that it had been an easy pace. The Formula is really compact. Developing the formula however of course required a bit more knowledge. Like I say I love the harder stuff.
Eclipse is the wrong word. Don't know the right one but I think it is clear enough what is meant.
The 128 line is where the simulator complained about the program beeing too long. Seems there is a limit. Can be it's 125 I don't know but the program length is very limited according to the simulator.
Yes certainly with the IC you can switch the mode easy today. But I do not like to use that artificial sensor mode at all. Even the default mode provides more than a normal RL sensor does.
I wonder why instead that mode the devs didn't right away provide an all in one complete solarpanel controller.
Anyway as explained I like doing the hard stuff. A matter of taste.
It's a video game, all modes and everything is artificial. But you are allowed create extra artificial challenge to yourself as you please. You can do a "knives only" playthrough if you choose to. But doing the hard stuff and doing stuff the hard way are two different things.
If you like the hard stuff, might I suggest automatic satellite finding. It took me a couple of days to figure that out. And there is no need to make it any more difficult than it already is.
I am not interested in satellite findings.
Don't see what is hard about a simple formula with a sin and a cos. It's more work yes but it is really very simple and at the end it is basicly the same an IC + 2 sensor. The other solution is an IC + 1 Sensor. So what is the difference here? I know exactly what I calculate. People just using the easy sensor mode don't learn so much. Don't have to if they don't want. At the end it's each there own. Again it's a matter of taste and skills one has.
I started programming MIPS a couple of weeks ago and its not bad. Its great to see others program and study there ways. Later when you program your own you make it even better. Very different from VB and C. I started converting all my Logics to IC10. Definitely need it with AIMEe and the Wireless transmitters.
If you in it to 100% do your own thing thats also fine. We all learn our own way. As long as you don't frustrate yourself so much that you get discouraged.
PS ! The 128 Lines are really very limiting. Put your notes next to your code and as little above as possible.
Enjoy
Simplest is to have everything you have as discrete IC function available in IC10 too.
If the idea is to be as close to an Assembler Language/Microprocessor...you know that most systems will offer a function library. Maybe that could be a way to go..calling hidden system function library..thought the user than has to take care about pushing and poping the register makes it maybe too complicated.
What I really wonder.. why is there a 128 line limit? Likely people would like to have that limit increased to make more with just one IC.
Byway I couldn't test my program in game yet..I figured I need all sorts of advanced ingots....so for a first survival solution I am better off with discrete logic.
Just exploring the miner module. It says small miner. Wonder if it maybe will be possible to build custom made miners in the future!?. I build crazzy digging machines with the
redpower 2 mod in minecraft in the past.