New Release Interplanetary Modular Spacecraft RC9

The ISP in the IMS config files is given in m/s, isn't it?

Is there a way to recalculate it in s so that I can calculate my required wet mass from the dry mass?

If I use the ISP from the IMS config files I get a mass ratio which is smaller than 1, e. g.:

Required Delta-V: 20,000 m/s
ISP: 8,000 m/s
Empty mass: 149,100 kg

Mass ratio = ln(20,000 / 8,000) = 0.92

Edit:
Alright, I read the wikipedia article on the specific impulse again and noticed that the factor for the unit conversion of the ISP from m/s to s is 9.8066

Consequently my corrected example from above is:
Required Delta-V: 20,000 m/s
ISP: 8,000 m/s / 9.8066 = 815.77 s
Empty mass: 149,100 kg

Mass ratio = ln(20,000 / 815.77) = 3.199
 
Last edited:
If I use the ISP from the IMS config files I get a mass ratio which is smaller than 1, e. g.:

[ame="http://en.wikipedia.org/wiki/Mass_ratio"]You DO NEED m/s to calculate mass ratio (i.e. the exhaust velocity)![/ame]

Mass ratio being smaller than one isn't tragic, it simply means that the overall mass of propellant is less than your dry mass. With a good ISP and reasonable DV expectations, this isn't a rare occurance.

What map is this?

static map<string, SolarArrayConfig> solarArrayConfigs in PowerSystems.h (of course the same also applies to communication systems, but if I figure out why one of the is suddenly empty at ExitModule(), I'll also know why the other is).

I wonder why D3D9 would handle that particular process so much more efficiently than D3D7 did. All it is is basically overlaying yellow boxes onto the screen...

DX does not come with a built in font engine. I suspect that the inline client draws the labels using WinGDI, as it did to draw the panels before Orbiter 2010.

Jedidia, is there anything that you can reccomend for my issues with D3D9? I would also like to get it running with my IMS vessels.

Do you expierience the same problem with other scenarios too (also in Sol)? if yes, try to find out the minimum configuration in which it doesn't happen (if it even happens only with a CM, I've got somewhat of a problem on my hands).
If no, try to find out what causes it in this specific scenario (well, it's basically the same procedure).
Deactivate absolutely any and all other modules for these tests! Plugins (except for D3D9 client, of course), even other vessel modules, everything!
 
Last edited:
Uhm no. I'm a bit rusty. Give me a sec...

---------- Post added at 11:08 AM ---------- Previous post was at 10:56 AM ----------

Right. Spotted your problem.

I didn't quite realise it at the beginning, because I didn't read your post thouroughly enough. There is an inverse definition of mass ratio where it alsways is smaller than 1, so M1/MR = M0. But this is not the case here.

Your problem is quite simply this:

Mass ratio = ln(20,000 / 8,000) = 0.92

The mass ratio isn't the natural logarithm of DV/Ve. It's the inverse natural logarithm.

---------- Post added at 11:39 AM ---------- Previous post was at 11:08 AM ----------

Right. static on the global level does not mean the same as on the function level. I keep forgetting :facepalm:
 
Last edited:
I see, so in fact the mass ratio would be

e^(20,000 / 8,000) = 12.18

Thus the required propellant mass would be (149,100 kg * 12.18) - 149,100 kg = 1,759,380 kg
 
Jup, seems about right... DV's a female dog.

Memory leaks gone. there was no deallocation of the tracking animations whatsoever (they were'nt stored together with the other animations). So that's one less problem. Now let's fix the PMI and make auto-attach only kick in after integration, and see if RC4 has less mysterious, irreproducable crashes than RC3...
 
Icebreaker analogy

Now let's fix the PMI and make auto-attach only kick in after integration, and see if RC4 has less mysterious, irreproducable crashes than RC3...

I've found a good analogy to finding software bugs. They love to hide. But resolving them is very much like the way that icebreakers work when they are working on sheet ice. They can usually see their destination, a clear patch of water, some distance away, with a HUGE sheet of ice between where they are and where they want to go. So they back up a good distance (about 2-3 KM) then accelerate up to flank speed and ram into the ice, breaking some of it as they come to a complete stop. Exactly how much they break each time they ram the ice is random, and how much closer they get to their destination is also random. But the only thing to do is back up again.. and run into the ice at full speed. Sometimes they get lucky and the entire ice sheet splits in 2 and they get a clear run to their destination. But most times they have to ram, and ram, and ram, and ... lots of times... and finally they get to where they are going.

Where a software developer wants to go is bug-free code. How many bugs are there to fix? unknown. How many patches will it take to get to where you want to go? unknown. But you may get lucky and all the bugs resolve with 1 single patch and suddenly you find yourself in Nirvana.. bug-free code. ;)

Dantassii
HUMONGOUS IMS shipbuilder
 
RC 4 is up. Fixes a few things, changes autoattach to only kick in after integrations, and hopefully solves some of the mysterious crashes reported by some.

and suddenly you find yourself in Nirvana.. bug-free code.

Well, uhm... :shifty: I'm a religious guy, I believe in God, Judgement day, the second comming and all that... But I do not believe in bug-free code! :lol:
 
Well, uhm... :shifty: I'm a religious guy, I believe in God, Judgement day, the second comming and all that... But I do not believe in bug-free code! :lol:

Well, I'm an eternal optimist, as well as a Murphy Magnet. I believe there is such a thing as bug-free code. ;)

I assume RC4 can be copied directly on top of RC3?

Dantassii
HUMONGOUS IMS shipbuilder
 
I assume RC4 can be copied directly on top of RC3?

If you want backward compatibility, that's the way to go. If not, you're better served by deleting the old config files. But in your case the point is quite moot, I think.
 
If you want backward compatibility, that's the way to go. If not, you're better served by deleting the old config files. But in your case the point is quite moot, I think.

I'm getting a 404 error when I try to download RC4....

Dantassii
HUMONGOUS IMS shipbuilder
 
RC 4 is up. Fixes a few things, changes autoattach to only kick in after integrations, and hopefully solves some of the mysterious crashes reported by some.



Well, uhm... :shifty: I'm a religious guy, I believe in God, Judgement day, the second comming and all that... But I do not believe in bug-free code! :lol:

Thanks for the RC4 upload, will DL here.

And Jedidia, you can believe!!!

Code:
#include <iostream>
using namespace std;
int main ()
{
cout << "Hello World!";
return 0;
}

Works flawlessly every time :lol:
 
404 when I try to download RC4

Is anyone else getting a 404 error when they try to download the RC4 file? I get to the page, click on the download, choose my download program (just like I've done with all the earlier RCs) and then it gets a 404 error as if the file isn't even there.

Dantassii
HUMONGOUS IMS shipbuilder
 
Is anyone else getting a 404 error when they try to download the RC4 file? I get to the page, click on the download, choose my download program (just like I've done with all the earlier RCs) and then it gets a 404 error as if the file isn't even there.

Dantassii
HUMONGOUS IMS shipbuilder

I dont get any 404 messages, but the download doesn't start for me either. Perhaps an issue on the download site?
 
Good, I'm not not seeing things.

I dont get any 404 messages, but the download doesn't start for me either. Perhaps an issue on the download site?

Ok, so I'm not not seeing things then. ;) I don't get the 404 message from the web browser, I use a download add-on so I can control the bandwidth my computer uses to download stuff and it tossed the 404 error.

Dantassii
HUMONGOUS IMS shipbuilder
 
Is Ge.tt not working? I can't download RC4, the download fails when starting, but the counter is incrementing anyway. It shows 84 dowloads now, I can't believe IMS became this popular all of a sudden :)

---------- Post added at 09:40 ---------- Previous post was at 09:40 ----------

Oh, right, just refreshed the thread page... :uhh:

---------- Post added at 14:00 ---------- Previous post was at 09:40 ----------

Errkhey, fixed the config errors like you said, heres the file if anyone wants it:

View attachment 12153

Invalid Attachment specified, says Orbiter-Forum.
 
Invalid Attachment specified, says Orbiter-Forum.

Yeah, I know something screwed up there. Here are the contents of the file, as sent to Donatello:

Code:
Name Upsilon Andromedae
alias 50Ups And
path Upsilon Andromedae system
cntname Upsilon Andromedae system
class F 8 V
mass 1.28
radius 1.480
ecliptic 116.382 113.8 29.3234
surftemp 6074
age 3300
luminosity 3.4
planets 5

;-----------------------

planetnumber 1 0
moons 0
name Ups And b
type sudarskyiv 
sma 8.97588e9
ecc 0.023
axtilt 0.0
mass 2.65805554e+27
surfpressure 3.042e11
medsurftemp 1160.5
temprange 398 1798 253 1923
radius 9.08843e7
albedo 0.11
period 4.74234954
day 113.816389
cloudfraction 0.14
coreradius 1.2e7

;----------------------------

planetnumber 2 0
moons 6
name Ups And c
type sudarskyiii
sma 1.2416634e11
ecc 0.38
axtilt 21.77
mass 2.654258318e+28
surfpressure 3.042e11
medsurftemp 562
temprange 553 560 548 571
radius 8.7248928e7
albedo 0.01
period 241.23 
day 17.6019444
cloudfraction 0.1 
coreradius 1.9e7

;-------------------------------

planetnumber 2 1
name Ups And c I
type rock
sma 4.525777345778855e9
ecc 0.16
axtilt 0.36
mass 6.455678e+23
surfpressure 3.33455e3
medsurftemp 521
temprange 421 621 398 3459
radius 3.644667e6
albedo 0.02
period 6.98042824
day 167.530278
coreradius 1.8678e6
atmcompounds 3 902 95.2 0 7 3.8 0 35  1 0

;-------------------------------------

planetnumber 2 2
name Ups And c II
type venusian
sma 3.366734433e9
ecc 0.0445566774
axtilt 1.34
mass 4.6943e+24
surfpressure 8.7499074e6
medsurftemp 893
temprange 892 894 884 897
radius 5.8948e6
albedo 0.41
period 10.6738657
day 256.172778
cloudfraction 1. 
coreradius 3.3579e6
atmcompounds 3 902 98.7 0 7 1.1 0 907 0.2 0

;-------------------------------------

planetnumber 2 3
name Ups And c III
type rock
sma 4.525777345778855e9
ecc 0.00066778
axtilt 0.36
mass 2.33345e+23
medsurftemp 435
temprange 286 584 262 596
radius 3.132334e6 
albedo 0.06
period 12.4149074
day 297.957778
coreradius 1.2412e6

;-------------------------------------

planetnumber 2 4
name Ups And c IV
type rock
sma 4.056566e9
ecc 0.0725553365
axtilt 
mass 9.3445e+23
medsurftemp 426
temprange 279 573 252 1853
radius 3.8945552e6
albedo 0.39
period 14.1181366
day 338.835278
coreradius 1.4223e6

;-------------------------------------

planetnumber 2 5
name Ups And c V
type rock
sma 4.412234e9
ecc 0.0943848564
axtilt 
mass 6.3445e+23
surfpressure 0.001
medsurftemp 446
temprange 266 602 253 1246
radius 3.6433446e6
albedo 0.24
period 16.0151042
day 384.3625
coreradius 1.8678e6
atmcompounds 3 907 91 0 8 5 0 902 4 0

;-------------------------------------

planetnumber 2 6
name Ups And c VI
type rock
sma 4.73557884e9
ecc 0.00045577842
axtilt 
mass 3.323356e+23
medsurftemp 465
temprange 246 684 253 700
radius 2.122454e6
albedo 0.002
period 17.8075463
day 427.381111
coreradius 1.9479e6

;-------------------------------------

planetnumber 3 0
moons 8
name Ups And d
type sudarskyii
sma 3.7848294e11
ecc 0.258
axtilt 6.88
mass 1.946076378e+28
surfpressure 3.042e11
medsurftemp 245
temprange 242 247 240 250
radius 73895927
albedo 0.67
period 1278.1
day 10.2188889
hydrofraction 1. 
cloudfraction 1. 
icefraction 0. 
coreradius 1.81e7

;-------------------------------------

planetnumber 3 1
name Ups And d rings
type asteroids
sma 1.45233446e8
ecc 0.0
axtilt 16.95
mass 6.1934517e21
medsurftemp 211
temprange 170 220 160 230
radius 0.6753e6
albedo 0.92
period 0.111689815
day 2.68
icefraction 1. 
	
;-------------------------------------

planetnumber 3 2
name Ups And d I
type terrestrial
sma 4.525777345778855e9
ecc 0.016
axtilt 0.0
mass 7.37153346e+24
surfpressure 1.542294e5
medsurftemp 274
temprange 270 290 190 300
radius 6.767853e6
albedo 0.32
period 19.4265856
day 466.238056
hydrofraction 0.41 
cloudfraction 0.5 
icefraction 0.48
coreradius 3e6
atmcompounds 5 7 82 0 8 10 0 17 5 0 902 2.5 0 18 0.5 0

;-------------------------------------
planetnumber 3 3
name Ups And d II
type ice
sma 6.2457774442e+9
ecc 0.16747
axtilt 0.0
mass 4.37153346e+23
medsurftemp 215
temprange 171 246 162 252
radius 3.57834457e6
albedo 0.74
period 31.5002315
day 756.005556
hydrofraction 0. 
cloudfraction 0.
icefraction 1. 
coreradius 2e6

;-------------------------------------

planetnumber 3 4
name Ups And d III
type ice
sma 8.55325524574e9
ecc 0.2455           
axtilt 0.0
mass 2.45572355674e+24
surfpressure 1.31223e4         
medsurftemp 213
temprange 189 244 163 265
radius 6.767853e6
albedo 0.35
period 50.4787616
day 26.1172222
hydrofraction 0 
cloudfraction 0 
icefraction 0.95
coreradius 1e6
atmcompounds 2 7 95 0 17 5 0

;-------------------------------------

planetnumber 3 5
name Ups And d IV
type martian
sma 1.102367e10
ecc 0.0245           
axtilt 0.0
mass 2.849454408e+24
surfpressure 2.31192e4
medsurftemp 245
temprange 206 271 197 286
radius 5.0068e6
albedo 0.21
period 73.8578125
day 1772.5875
hydrofraction 0 
cloudfraction 0 
icefraction 0.01
coreradius 1.5e6
atmcompounds 2 902 97 0 17 3 0

;-------------------------------------
planetnumber 3 6
name Ups And d V
type ice
sma 1.2266334566e10           
ecc 0.03943           
axtilt 0.0
mass 1.32223455e+23
medsurftemp 181
temprange 132 252 112 268
radius 2.4321e6               
albedo 0.88
period 86.6981134 
day 2080.75472
hydrofraction 0.0
cloudfraction 0.0
icefraction 1.0
coreradius 0.5e6

;-------------------------------------
planetnumber 3 7
name Ups And d VI
type ice
sma 1.3033113667766e10 
ecc 0.03943           
axtilt 0.0
mass 7.99976756565e+22
medsurftemp 234
temprange 191 261 147 271
radius 1.2779807e6               
albedo 0.49
period 94.953356481 
day 54.5686111
hydrofraction 0.0
cloudfraction 0.0
icefraction 1.0
coreradius 1.2e6

;-------------------------------------

planetnumber 3 7
name Ups And d VII
type ice
sma 1.425782245778e10           
ecc 0.025674247745           
axtilt 0.0
mass 5.346777543e+22
medsurftemp 222
temprange 185 254 152 269
radius 1.056634664e6               
albedo 0.73
period 108.647106481 
day 145.234722
hydrofraction 0.0
cloudfraction 0.0
icefraction 1.0
coreradius 1.05e6

;-------------------------------------
planetnumber 4 0
moons 3
name Ups And e
type sudarskyi
sma 784731268800
ecc 0.00536
axtilt 24.69
mass 2.0107233e27
surfpressure 3.042e11
medsurftemp 170
temprange 170 170 170 170
radius 6.863232e7
albedo 0.65
period 3848.86
day 12.0094444
hydrofraction 1. 
cloudfraction 1. 
icefraction 0. 
coreradius 1.81e7

;-------------------------------------

planetnumber 4 1
name Ups And e I
type rock
sma 4.34623e8
ecc 0.125643
axtilt  
mass 1.2437344e+24
medsurftemp 160
temprange 150 170 140 2000
radius 3.874734e6
albedo 0.3
period 1
day 24
coreradius 1.8678e6

;-------------------------------------

planetnumber 4 2
name Ups And e II
type ice
sma 9.3213e8
ecc 0.02345
axtilt  
mass 7.6353e+23
medsurftemp 155
temprange 150 160 135 165
radius 3.2445563e6
albedo 0.7
period 5.67
day 136.12
coreradius 1e6

;-------------------------------------

planetnumber 4 3
name Ups And e III
type ice
sma 2.345663e9
ecc 0.02345
axtilt  
mass 4.6353e+23
medsurftemp 140
temprange 130 150 125 155
radius 3.7345e6
albedo 0.92
period 22.55
day 541.25
coreradius 1e6

;-------------------------------------

planetnumber 5 0
moons 2
name Ups And f
type ice
sma 17.13488653345e11
ecc 0.0385
axtilt 0.319
mass 4.233445e+24
medsurftemp 97
temprange 92 102 84 106
radius 6.1335443e6
surfpressure 8.43445745e4
icefraction 1.0 
cloudfraction 0.0
coreradius 2.13e6
atmcompounds 3 7 57 0 9 41.8 0 904 1.2 0
albedo 0.36
period 13578
day 60.266

;-------------------------------------

planetnumber 5 1
name Ups And f I
type ice
sma 7.334664e7
ecc 0.0134567
axtilt 
mass 7.25688e+23
medsurftemp 92
temprange 68 116 59 121
radius 3.7344566e6
albedo 0.62
period 2.5110833
day 60.266
icefraction 1. 
	
;-------------------------------------

planetnumber 5 2
name Ups And f II
type rock
sma 9.5556824e8
ecc 0.23567445
axtilt 
mass 9.245774e+19
medsurftemp 95.5
temprange 70 121 62 135
radius 4.2443e5
albedo 0.01
period 127.792
day 12.8705556
icefraction 0.
 
Confirming the download issue, no idea what's wrong. The strange thing is that it does show 144 downloads, so the problem doesn't seem constant. However, it doesn't happen for any of my other files, so no idea what's going on there. I did a re-upload and updated the link on the first page, seems to work, at least for me.
 
I searched the thread but did not find a formula for how IMS calculates the power output of solar panels although the topic has been discussed a couple of times.

How can I calculate the power output of a solar panel at a certain distance from the sun assuming optimal alignment (perpendicular to the sun I suppose)?
 
Back
Top