This is a read-only snapshot of the ComputerCraft forums, taken in April 2020.
DerD4nnY's profile picture

Solar Panel Calculation

Started by DerD4nnY, 23 July 2015 - 04:29 PM
DerD4nnY #1
Posted 23 July 2015 - 06:29 PM
Hey guys,

can somebody give ma a program that shows the following on the screen:

Amount of HV Solar [DAY] : XXXXX
Amound of HV Solar [NIGHT] : XXXXX
UU MATTER PRODUCED: XXXXXXX
UU MATTER /sec : XXXXX

I want a program that tells me how many UU Matter I get per second (based on the TPS and the EU) , it should tell me how much is used for Production….. and how much high volars are produced day and how much night (since night has less EU)

I would be really glad if somebody can help me out
KingofGamesYami #2
Posted 23 July 2015 - 07:42 PM
Do you have any way of telling CC how much UU matter you have?

Do you have any way of telling CC how much power you're making?

If yes, this program is possible.
If no, it's impossible.
Balthamel #3
Posted 24 July 2015 - 02:11 PM
You could get the UU produced by pushing it all into the turtle's inventory and counting it there. The RF would require an addon to the base CC though I think.
LuckyLuke #4
Posted 24 July 2015 - 04:44 PM
Maybe you can use those Terminal Blocks, but CC doesnt support IC2 if there's no interaction just like KingofGamesYami told you
DerD4nnY #5
Posted 24 July 2015 - 05:18 PM
I got that Peripheral Sensor with an IC2 Card …. but I guess I need more for the programm to work ?

Would be really glad if someone could help with the program
Balthamel #6
Posted 24 July 2015 - 08:19 PM
It is incredibly unlikely for someone to just give you a program (I never would) unless they made one for themselves in which case it would be in the program subforum. If you want help show us some code or ask for help with a bit of code you're having trouble with.
DerD4nnY #7
Posted 26 July 2015 - 05:03 PM
I dont even understand LUA… thats why I ask for help here… family and work is taking my time…
LuckyLuke #8
Posted 27 July 2015 - 06:53 AM
If you rightclick the IC2-Card on a mfsu/solar pannel / whatever, you can insert it into a Terminal-Block (not sure if renamed in the english version). This provides you with the information you asked.

I guess, there is no way to get the information into a computer :(/>
DerD4nnY #9
Posted 29 July 2015 - 03:50 PM
but there is "Sensorview" in the computer. but it not tells me how much UU is produced.

A code which tells me how long it takes to create 1 UU would be helpfull too. I hope someone can help me there