Author Topic: Armour Calculation  (Read 1890 times)

0 Members and 1 Guest are viewing this topic.

Offline Feeble (OP)

  • Petty Officer
  • **
  • Posts: 18
  • Thanked: 3 times
Armour Calculation
« on: April 19, 2020, 03:11:02 AM »
Can anyone tell me how armour is calculated? I found previous posts that basically said that armour is calculated using the formulas for converting from the volume of a sphere to the area of a sphere, divide by 4, then divide again by the strength of the armour tech, then round to the first decimal place, but that calculation is very inaccurate at larger ship sizes.   If I start to include the armour rating, the calculation is even more inaccurate (where i calculate each successive layer by taking the weight added by the previous layer, adding it to the weight of the ship, and performing the same calculation as above, only once i reach the point of dividing by armour strength i also multiply by the armour layer) this is accurate to some degree, but at larger ship sizes and higher armour ratings, the calculation underestimates the amount of armour needed by a lot (>5% error).   Can someone (ideally Steve) please detail how armour is calculated?
« Last Edit: April 19, 2020, 05:08:18 AM by Feeble »
 

Offline mtm84

  • Sub-Lieutenant
  • ******
  • m
  • Posts: 131
  • Thanked: 36 times
Re: Armour Calculation
« Reply #1 on: April 19, 2020, 04:54:15 AM »
I think its in the necronomicon some where.

(but seriously, I know how it works in theory but I've never had my numbers match up with Auroras.)
 

Offline SevenOfCarina

  • Lieutenant
  • *******
  • Posts: 170
  • Thanked: 95 times
Re: Armour Calculation
« Reply #2 on: April 19, 2020, 05:08:37 AM »
I've heard that the armour width is calculated as  [(3*(Total Ship Size in HS)/(4*pi))^(2/3)]*pi rounded down to the nearest integer. The armour volume required is then (Armour Width x Armour Depth)/(Armour Strength per HS)

As I understand, Aurora iterates the armour calculation only a fixed number of times, so for very large ships you could end up needing appreciably less armour volume than you should. Also, 'ships' under 30 tons have zero armour width due to the aforementioned rounding.
 

Offline amram

  • Lieutenant
  • *******
  • a
  • Posts: 154
  • Thanked: 79 times
Re: Armour Calculation
« Reply #3 on: April 19, 2020, 05:18:49 AM »
I do not know how to take a tonnage, add armor, and learn how much that adds on. 

I do know how to take a final tonnage with armor, and find out how much of that was added by the armor.

For a 10,000 ton ship, 4 layers of armor, Compressed Carbon Armor which has a strength of 15

Code: [Select]
ROUND(ROUND(Layers*ROUNDUP(0.356317748049092*(ship_tons)^(2/3),1)/4,1)/armor_strength,1)*50
 ROUND(ROUND(4*ROUNDUP(0.356317748049092*(10000)^(2/3),1)/4,1)/15,1)*50
 ROUND(ROUND(4*ROUNDUP(0.356317748049092*464.1588834,1)/4,1)/15,1)*50
 ROUND(ROUND(4*ROUNDUP(165.38805,1)/4,1)/15,1)*50
 ROUND(ROUND(4*165.4/4,1)/15,1)*50
 ROUND(ROUND(165.4,1)/15,1)*50
 ROUND(165.4/15,1)*50
 ROUND(11.02667,1)*50
 11*50
 550

https://prnt.sc/s271z5

That's exactly what we get too.  11.0x is 11 HS of armor, 550 tons.

So the warship before armor is 9450 tons, 10,000 with.

Code: [Select]
armor strengths:

1 conventional steel
2 conventtional composite
3 convent adv composite
4 duranium
6 HD duranium
8 composite
10 ceramic composite
12 laminate composite
15 compressed carbon
18 biphase carbide
21 crystalline composite
25 superdense
30 bonded superdense
36 coherent superdense
45 collapsium


Same method applied to a 384,000 ton ship with 11 layers of armor, also compressed carbon:

Code: [Select]
ROUND(ROUND(Layers*ROUNDUP(0.356317748049092*(ship_tons)^(2/3),1)/4,1)/armor_strength,1)*50
 ROUND(ROUND(11*ROUNDUP(0.356317748049092*(384000)^(2/3),1)/4,1)/15,1)*50
 ROUND(ROUND(11*ROUNDUP(0.356317748049092*5283.084,1)/4,1)/15,1)*50
 ROUND(ROUND(11*ROUNDUP(1882.4565,1)/4,1)/15,1)*50
 ROUND(ROUND(11*1882.5/4,1)/15,1)*50
 ROUND(ROUND(20707.5/4,1)/15,1)*50
 ROUND(ROUND(5176.875,1)/15,1)*50
 ROUND(5176.9/15,1)*50
 ROUND(345.12667,1)*50
 345.1*50
 17,255 tons

And that's what we find: https://prnt.sc/s27n55

345.1 HS is 17,255 tons.
 

Offline Feeble (OP)

  • Petty Officer
  • **
  • Posts: 18
  • Thanked: 3 times
Re: Armour Calculation
« Reply #4 on: April 19, 2020, 04:43:45 PM »
Quote from: SevenOfCarina link=topic=10922. msg125631#msg125631 date=1587290917
I've heard that the armour width is calculated as  [(3*(Total Ship Size in HS)/(4*pi))^(2/3)]*pi rounded down to the nearest integer.  The armour volume required is then (Armour Width x Armour Depth)/(Armour Strength per HS)

As I understand, Aurora iterates the armour calculation only a fixed number of times, so for very large ships you could end up needing appreciably less armour volume than you should.  Also, 'ships' under 30 tons have zero armour width due to the aforementioned rounding.

Is "Armour Depth" the same as Armour Rating?
 

Offline mtm84

  • Sub-Lieutenant
  • ******
  • m
  • Posts: 131
  • Thanked: 36 times
Re: Armour Calculation
« Reply #5 on: April 19, 2020, 05:04:32 PM »
Amram: any idea where the magic number came from?  I’ve seen this in various ship design spreadsheets.

Feeble: it is my understanding that armor depth is armor rating, which is the number of armor box layers.
 
The following users thanked this post: Feeble

Offline Feeble (OP)

  • Petty Officer
  • **
  • Posts: 18
  • Thanked: 3 times
Re: Armour Calculation
« Reply #6 on: April 19, 2020, 05:16:07 PM »
Quote from: mtm84 link=topic=10922.  msg125913#msg125913 date=1587333872
Amram: any idea where the magic number came from?  I’ve seen this in various ship design spreadsheets. 

Feeble: it is my understanding that armor depth is armor rating, which is the number of armor box layers. 

Okay, thanks.   Also, I would like to know where that number came from too.   It isn't (4*PI/3)^(-2/3) (though it is close to it) which would make sense as this constant comes from the equation to convert from the volume of a sphere to its surface area (at least partially, i don't know what happened to the 4*PI, which would have made the constant 4*PI*(4*PI/3)^(-2/3).   This is obviously too large)

In my mind, the calculations should look a lot like the calculations for an onion, where each successive armor layer has to account for the volume added by the previous layer.
« Last Edit: April 19, 2020, 05:19:20 PM by Feeble »
 

Offline mtm84

  • Sub-Lieutenant
  • ******
  • m
  • Posts: 131
  • Thanked: 36 times
Re: Armour Calculation
« Reply #7 on: April 19, 2020, 05:28:41 PM »
I am guessing that someone made a lot of ships at certain tonnages, with 1 to n armor layers at x armor tech, and graphed them in excel to come up with an exponent in a function.  But I digress.  In theory the way the armor is set up you should be able to calculate the next layer of armor by using the current ship tons.  But I’ve never been able to match my numbers with the games numbers.  Armor represents the volume of a spherical shell need to cover a sphere of X hull size volume. The higher your armor tech the thinner that shell is, which means the less hull size worth of armor you need. Armor width represents the surface area of the ship “sphere” you need to armor.
 

Offline Feeble (OP)

  • Petty Officer
  • **
  • Posts: 18
  • Thanked: 3 times
Re: Armour Calculation
« Reply #8 on: April 19, 2020, 05:39:49 PM »
The best formula I have found/made so far is:

=ROUNDUP(
       ROUNDUP(
           4/4*3. 14*((CEILING("Ship init HS" + "HS of previous armour layer",1)
       /(4*3/3))^(1/3))^2
       ,0)
  *("Armour Layer number"/"Armour Strength Rating")
  ,1)

This formula initially overestimates (<30% error at 1 Armour Rating) the armour needed at low armour ratings, then underestimates at higher armour ratings (<4% error at 40 armour rating), then goes back to over estimating the armour needed at (3. 23% error at 100 Armour Rating)

Note: Test bed was a ship with 1 bridge and 1 50 ton fuel storage and 60 months deployment time
 

Offline Feeble (OP)

  • Petty Officer
  • **
  • Posts: 18
  • Thanked: 3 times
Re: Armour Calculation
« Reply #9 on: April 19, 2020, 05:42:21 PM »
Quote from: mtm84 link=topic=10922. msg125928#msg125928 date=1587335321
I am guessing that someone made a lot of ships at certain tonnages, with 1 to n armor layers at x armor tech, and graphed them in excel to come up with an exponent in a function.

I figured it was some kind of curve fitting.

Quote from: mtm84 link=topic=10922. msg125928#msg125928 date=1587335321
But I digress.   In theory the way the armor is set up you should be able to calculate the next layer of armor by using the current ship tons.   But I’ve never been able to match my numbers with the games numbers.   Armor represents the volume of a spherical shell need to cover a sphere of X hull size volume.  The higher your armor tech the thinner that shell is, which means the less hull size worth of armor you need.  Armor width represents the surface area of the ship “sphere” you need to armor.

This has been my understand as well.
 

Offline amram

  • Lieutenant
  • *******
  • a
  • Posts: 154
  • Thanked: 79 times
Re: Armour Calculation
« Reply #10 on: April 19, 2020, 06:09:26 PM »
Amram: any idea where the magic number came from?  I’ve seen this in various ship design spreadsheets.


Nope, I spent a couple days rooting around the net, mostly reddit and old forum postings here trying to figure out how to calculate armor.  I couldn't get it either until I came across the formula I use now and working from the final tonnage works for my purposes.

Did a little digging, found where I probably picked it up from:
https://docs.google.com/spreadsheets/d/1TKzgbroNAKD8qMSny0a_78n93RHWfSMCKWRcEaC3tNo/edit#gid=0

He credits Sombody1212 with the formula.

It's not a perfect match, but very close for area.  Using a 10,000 ton ship:
165.3880481 = 4*PI()*(((HS=200)/(4*PI()/3))^(1/3))^2
165.3787038 = 0.356297616552724*(tons=10000)^(2/3)

A quick look at my prior post, I also hit 165.38805, so yes, this is probably where I got it from.


Had some time, worked through it, that is the source of the magic number.

Code: [Select]
truncating to 4 digits, but working with 9
4 * PI() * ((HS / (4*PI()/3))^(1/3))^2
4 * PI() * (HS / (4*PI()/3))^(2/3)
4 * PI() * HS^(2/3) / (4*PI()/3)^(2/3)
4 * PI() / (4*PI()/3)^(2/3) * HS^(2/3)
12.5663 / 4.1887^(2/3) * (tons/50)^(2/3)
12.5663 / 2.5985 * tons^(2/3) / 50^(2/3)
4.8359 * tons^(2/3) / 13.5720
4.8359 / 13.57208808 * tons^(2/3)
0.356317748 * tons^(2/3)

comparing:
Code: [Select]
mine  = 0.356317748
magic = 0.356317748049092
« Last Edit: April 20, 2020, 02:57:17 AM by amram »