It seems like Simulation of Cubesat and eclipse time is not correct
Hello,
I am extending the the cubesat simulation project [open(‘asbCubeSatVehicleTemplate.sltx’)] template with some functions. Therefore I need to know if the sun is in view or not. Fortunately there is a block that calculates it and gives out 1 when sun is in view and 0 when it is not.
But it seems like this is not correct when I compare the boolean to the visualization.
I simulated half an orbit on the dark side of the earth, but in the middle of the simulation the satellite sees the sun again.
Can someone help me to fix this problem mathematecally or doas the visualization is not correct?
Best regards.Hello,
I am extending the the cubesat simulation project [open(‘asbCubeSatVehicleTemplate.sltx’)] template with some functions. Therefore I need to know if the sun is in view or not. Fortunately there is a block that calculates it and gives out 1 when sun is in view and 0 when it is not.
But it seems like this is not correct when I compare the boolean to the visualization.
I simulated half an orbit on the dark side of the earth, but in the middle of the simulation the satellite sees the sun again.
Can someone help me to fix this problem mathematecally or doas the visualization is not correct?
Best regards. Hello,
I am extending the the cubesat simulation project [open(‘asbCubeSatVehicleTemplate.sltx’)] template with some functions. Therefore I need to know if the sun is in view or not. Fortunately there is a block that calculates it and gives out 1 when sun is in view and 0 when it is not.
But it seems like this is not correct when I compare the boolean to the visualization.
I simulated half an orbit on the dark side of the earth, but in the middle of the simulation the satellite sees the sun again.
Can someone help me to fix this problem mathematecally or doas the visualization is not correct?
Best regards. cubesat, aerospace toolbox, sun in view, cubesat simulation project MATLAB Answers — New Questions









