Barotrauma

Barotrauma

59 ratings
[LK]Reactor_Controller based on Temperature by Luka
3
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
Updated
611.979 KB
21 Oct, 2023 @ 3:58am
4 May @ 1:36am
11 Change Notes ( view )

Subscribe to download
[LK]Reactor_Controller based on Temperature by Luka

In 2 collections by LUCA46B
[LK]Vanilla Submarine Plus
12 items
[LK]Original Works
9 items
Description
Introduction:
This controller is theoretically of the best ones after 0.19 version:
It adjust its output by adjust its temperature instead of turbine,which gives it the ability to adjust its output rate at the speed of 20%/s,which is 10 times as fast as the cases with no controller at all and 4 times as those traditional controllers who use turbine to adjust output,and could not be quicker after 0.19.
Besides,it also perform better than normal temp-control reactors as it would not slow down when the temperature approached the aimed value,at the cost of little oscillation after adjustment.
And,it have all virtues a good old controller before 0.19 once had:no power decline in cases with single U rod,no overheat when initialize,no overheat when load far exceeds reactor's maxpower,and no need for calculation and adjustment every time you upgraded your reactor.

There may be a little room for improvement,which however would require disproportionate components and efforts.
*Here I recommend a more precise one with more components however.
*Here I recommend a very more precise one with very more components however.(


Instruction
After deploying this mod,you can find this component in the "Item Assembly" blank.Then just link up lining as following texts.
NOTICE: After installed the controller,reactor may overload the power net for about 10s when initializing.To prevent that from happening ,you shall pull the "turbineoutput"bar apace to max by hand.
Link up lines as picture 2.

And edit the divide component in the upper left:

clamp max=5000/basic maxoutput
clamp min=4170/basic maxoutput
Both values are only accurate to 0.1,so make the maximum bigger and make the minimum smaller.For example,if you calculated and got 1.343/1.12 as your result,then fill in 1.4/1.1 .


Thanks to Yun-Shan's work.


There is an alter for reactors in 1.7,which will cause the reactor to be oscillating when start a round.
It's hard for me to fix this,so you may support my proposal on github to Fakefish.
#15362←*heart.


Updated the versions that can automatically shut down in the new round and can restart without overload or overheat, which relatively solves the problem.
65 Comments
Yun-Shan 9 May @ 11:18am 
感谢回复,我尝试了一些减少计算波动的方案,都不太理想,看来是没办法了
LUCA46B  [author] 9 May @ 2:18am 
@Yun-Shan
哦,感谢云佬回复。
是这样的,像雷莫拉那样的挺有叠工程必要的船我就在plus版里把钳值放到了0.6。
不过其实本身把钳值放宽些也不会有太严重的后果,只是钳上更稳定一些,像KB那个堆就完全没做钳值,其实也就那样。
以及用延时器滤波效果反而不见得好,因为温度和功率都是会取整的,波动几乎是必然,反倒是实时解算能弥合一点容差问题。
Yun-Shan 9 May @ 1:30am 
最近玩的一个档遇到了4个洗灵助手叠工程师,才突然发现这个钳值似乎只适用单工程师天赋的,感觉可以直接假设涡轮为100然后用公式直接算最大值,然后接一个长延时组件过滤波动,再输出到内存得到功率最大值。
不知道露卡你之前是否尝试过这种设计在实战中的效果如何
Yun-Shan 4 May @ 3:47am 
提供一份官船用的除法组件钳制最大值最小值参数表:
T1:
儒艮级(Dugong): 1.7、1.3
逆戟鲸级(Orca): 1.5、1.1
野獾级(Barsuk): 1.2、0.9
骆驼级(Camel): 1、0.8
T2:
座头鲸级(Humpback): 1.7、1.3
方位角级(Azimuth): 1.5、1.1
逆戟鲸级Ⅱ型(Orca2): 1.3、1
提丰级(Typhon): 1.2、0.9
女武神级(Herja): 1.1、0.8
R-29 “大块头”(R-29): 1、0.8
T3:
卡斯特罗级(Kastrull): 1、0.8
鲫鱼级(Remora): 1、0.8
提丰级Ⅱ型(Typhon2): 1、0.8
海鞘级(Berilia): 0.8、0.6
御冬级(Winterhalter): 0.6、0.4
LUCA46B  [author] 16 Mar @ 6:45pm 
@Luviagelita
这个其实主要原因是积分器的问题,因为用的减法器精度只有0.1(本来该是8.3333的只能填8.3),所以会导致升温上不来(当然可以填8.4,这样又容易烧)。实际上可以先放大再缩小来获得更精准的效果,但这样会加多四个组件,我就懒得搞了。
毕竟如我所说,这玩意就是个玩具,真打战役无脑温控常态就行了。我自己的船真得用双模式的像仿星器那也都是参数手调。
开自动控制的话电压低于1/涡轮比裂变就会被强制飙高拉都拉不下来,所以会显得这个问题解决了,具体可以看我阿b的某动态
Luviagelita 16 Mar @ 12:18pm 
我发现双模式不管有没有设置钳制值,节能模式下每当突然大幅升高负载(比如停船时全速起步)或者切换到高燃耗模式,都会直接大幅降低反应堆温度至0功率,且堆芯升温速度变得比官方自动还慢,直到温度恢复到满足正常运行。
如果开着原版 自动控制 就不会出现这个问题(难绷)
LUCA46B  [author] 16 Mar @ 8:34am 
@Luviagelita
具体是怎么搞的忘了,好像双模式设钳制会有点怪怪的还是咋样?毕竟那玩意主要是我自己做着玩,实际游戏里实用性其实不咋高
Luviagelita 15 Mar @ 2:57pm 
哦,还是最左上角的除法组件吗?双模式没有预设值搞得我有点迷惑
Luviagelita 15 Mar @ 2:56pm 
双模式反应堆该在哪里设置钳制值啊?
LUCA46B  [author] 24 Dec, 2024 @ 7:06pm 
@heheboi
;/