Skip to content

Commit

Permalink
Merge pull request #98 from post-kerbin-mining-corporation/dev
Browse files Browse the repository at this point in the history
Release 0.6.0
  • Loading branch information
ChrisAdderley authored Oct 10, 2022
2 parents 416a3c8 + d0a93df commit d799ba1
Show file tree
Hide file tree
Showing 41 changed files with 2,976 additions and 175 deletions.
29 changes: 29 additions & 0 deletions CKAN/SystemHeat-CryoTanks.netkan
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
{
"spec_version": "v1.4",
"identifier": "SystemHeat-CryoTanks",
"name": "System Heat - Cryo Tanks Configuration",
"$kref": "#/ckan/github/post-kerbin-mining-corporation/SystemHeat",
"$vref": "#/ckan/ksp-avc",
"abstract": "This System Heat config package changes zero boiloff cryogenic tanks to need cooling instead of power. WARNING: potentially vessel-breaking.",
"author": "Nertea (Chris Adderley)",
"license": "CC-BY-NC-SA-4.0",
"resources": {
"homepage": "https://forum.kerbalspaceprogram.com/index.php?/topic/193909-1",
"repository": "https://github.com/post-kerbin-mining-corporation/SystemHeat"
},
"depends": [
{ "name": "ModuleManager" },
{ "name": "SystemHeat" },
{ "name": "CommunityResourcePack" }
],
"suggests": [
{ "name": "SystemHeatConverters" },
{ "name": "SystemHeatFissionReactors" },
{ "name": "SystemHeatHarvesters" },
{ "name": "NearFuturePropulsion" }
],
"install": [ {
"find": "SystemHeatBoiloff",
"install_to": "GameData"
} ]
}
39 changes: 39 additions & 0 deletions Extras/SystemHeatBoiloff/CryoTanks/CryoTanksSystemHeat.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
@PART[*]:HAS[@MODULE[ModuleCryoTank]]:AFTER[zzz_CryoTanks]
{
MODULE
{
name = ModuleSystemHeat
volume = #$../mass$
volume *= 0.5
moduleID = tank
iconName = Icon_Snow
}

@MODULE[ModuleCryoTank]
{

@name = ModuleSystemHeatCryoTank
systemHeatModuleID = tank

@BOILOFFCONFIG:HAS[#FuelName[LqdHydrogen]]
{
CoolingHeatCost = 0.3
CryocoolerTemperature = 300
}
@BOILOFFCONFIG:HAS[#FuelName[LqdMethane]]
{
CoolingHeatCost = 0.15
CryocoolerTemperature = 400
}
@BOILOFFCONFIG:HAS[#FuelName[LqdHe3]]
{
CoolingHeatCost = 0.22
CryocoolerTemperature = 350
}
@BOILOFFCONFIG:HAS[#FuelName[LqdDeuterium]]
{
CoolingHeatCost = 0.25
CryocoolerTemperature = 300
}
}
}
2 changes: 2 additions & 0 deletions Extras/SystemHeatConverters/genericConverters.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,12 @@
key = 1000 1.0
key = 1300 0.0
}

systemPower = #$INPUT_RESOURCE:HAS[#ResourceName[ElectricCharge]]/Ratio$ //set the heat ouput as proportional to the EC usage.
@systemPower *= .90 //lets assume 90% of EC usage turns into heat.
!ThermalEfficiency {}
!TemperatureModifier {}
@GeneratesHeat = false //disable stock heating

}
}
Loading

0 comments on commit d799ba1

Please sign in to comment.