Qimen Dunjia · Bureau-setting methods
Qimen Chaibu: from the solar-term boundary to the bureau number
Chaibu selects the solar term by its boundary instant, then uses the day pillar’s futou cycle head to identify the upper, middle or lower yuan. Compare two adjacent minutes to see why the bureau and nine palaces change.
Identify the current solar term, then the yuan
In Qimen Dunjia, setting the bureau first establishes Yang Dun or Yin Dun and the starting bureau number. Together they determine where the nine-palace Earth Plate begins and its direction of arrangement. This site’s hourly rotating-plate Chaibu method makes two lookups: which solar-term boundary the entered instant has passed, and whether its day pillar belongs to the upper, middle or lower yuan. The solar term and yuan determine the bureau number.
The solar term changes at its boundary instant. A morning may still belong to Dongzhi; after the Xiaohan boundary on that same date, use Xiaohan. The three yuan follow stem–branch days in groups of five, beginning with and including the most recent Jia or Ji day. That starting day is the futou. Its branch assigns the segment: Zi, Wu, Mao or You gives upper yuan; Yin, Shen, Si or Hai gives middle yuan; Chen, Xu, Chou or Wei gives lower yuan. For example, Mao belongs to the first group, so the five days starting with Ji-Mao use upper yuan.
- Step 1 · Check the boundaryFind the solar term
Use the preceding term before the boundary and the new term after it.
- Step 2 · Check the day pillarIdentify the yuan
Find the segment’s Jia or Ji day; its branch determines upper, middle or lower yuan.
- Step 3 · Consult the tableSet Dun direction and bureau number
The term determines Yang or Yin Dun; the yuan selects its bureau number.
The sequence beginning at Dongzhi uses Yang Dun; that beginning at Xiazhi uses Yin Dun. A term’s three numbers correspond, in order, to upper, middle and lower yuan.
A solar-term boundary need not coincide with a five-day segment boundary. A term may end partway through a segment, and the new term may begin directly with middle or lower yuan. This explains the splitting in Chaibu and helps interpret this site’s results. The tool uses UTC+8 and assigns times from 23:00 to the next stem–branch day. Crossing that boundary may also change the yuan. First establish whether the change crossed a solar-term boundary or a day boundary.
How does a historical text split a lower-yuan segment?
Qimen Faqiao, juan 6, Dunjia Lun, assumes that Dongzhi begins on a Ding-Wei day. The five-day segment begins on Jia-Chen; Chen assigns lower yuan. The text leaves Jia-Chen, Yi-Si and Bing-Wu with the preceding term, lower-yuan Daxue. On the Ding-Wei day when Dongzhi begins, it assigns Ding-Wei and the following Wu-Shen to lower-yuan Dongzhi. The same Jia-Chen futou still governs all five days. The term changes, and the bureau changes from Yin Dun 1 for lower-yuan Daxue to Yang Dun 4 for lower-yuan Dongzhi. Only at the upper-yuan futou Ji-You does it change to Yang Dun 1 for upper-yuan Dongzhi.
This is the text’s hypothetical stem–branch example. It supplies no CE date, clock time of the solar-term boundary or hour pillar, and is useful for reading segment divisions. The book separately lodges Center 5 in Gen for Yang Dun at Dongzhi; this site consistently lodges it in Kun. The modern example below uses this site’s boundary times and lodging convention, so it can be reproduced from the stated times.
Why does bureau 1 change to bureau 2 on the same afternoon?
Take 5 January 2026. In this site’s solar-term data, Xiaohan begins at Taiwan time . The tool accepts minutes: entering 16:23 means the start of that minute, still before the boundary, so Chaibu uses Dongzhi. At 16:24 Xiaohan has begun. Both instants have Ji-Mao as day pillar, Ren-Shen as hour pillar and Ji-Mao as futou, so upper yuan is unchanged. Upper-yuan Dongzhi uses bureau 1 and upper-yuan Xiaohan bureau 2; the heading therefore changes from Yang Dun 1 to Yang Dun 2.
| Check first | 16:23 | 16:24 |
|---|---|---|
| Adopted solar term | Winter Solstice | Minor Cold |
| Day pillar and yuan | Ji-Mao · upper yuan | Ji-Mao · upper yuan |
| Dun direction and bureau number | Yang Dun 1 | Yang Dun 2 |
| Chief star | Tianpeng in Kun 2 | Tianrui in Qian 6 |
| Chief door | Rest Door in Li 9 | Death Door in Kan 1 |
Open both charts and first locate Wu on the Earth Plate. Bureau 1 places it in Kan 1; bureau 2 starts it in Kun 2. The remaining stems follow in the same sequence. Changing the Earth Plate also recalculates the chief star and chief door from this starting point, changing Tianpeng and Rest Door to Tianrui and Death Door. Following the boundary through to the Earth Plate traces the reason for the changes, rather than guessing which label moved first.
Two charts for one instant: what should be compared first?
To compare Chaibu and Zhirun, choose Compare the same instant for one input. Check the adopted solar term at each heading, then the yuan, Dun direction and bureau number; only then compare chief star, chief door and palace positions. Across websites, also check timezone, start-of-Zi day boundary, central-palace lodging and whether both use the hourly rotating-plate method. Each setting affects the chart; differences may arise independently of the bureau-setting method.
Use noon on 25 December 2024 for practice. The calendar has passed Dongzhi, so Chaibu uses lower-yuan Dongzhi, Yang Dun 4. Zhirun reads the segment reached in its own sequence. First check whether its heading adopts Dongzhi or Daxue, then when Dun direction changes. For the same input, this site’s two methods identify the same futou and yuan. If the adopted term also agrees, their nine-palace charts are identical.
Bureau-number verses and historical terminology
The Dongzhi numbers 1, 7, 4 and Xiaohan numbers 2, 8, 5 can be checked in Erzhi Huanxiang Tu, Arts section juan 703 of Qinding Gujin Tushu Jicheng. These numbers associate terms with bureaus; the boundary convention is the chart rule expressly stated on this page. Juan 1 of Dunjia Yanyi discusses Chaibu in the context of chaoshen, jieqi and the timing of futou. Read a recurring term within that passage’s calculation sequence.
- Qinding Gujin Tushu Jicheng, Erzhi Huanxiang Tu: fixed facsimile page and electronic transcription
- Qimen Faqiao, juan 6, Dunjia Lun: Dongzhi beginning on Ding-Wei; Daizhige electronic transcription; original printed witness unspecified.
- Dunjia Yanyi, Siku witness, juan 1, Chaojie Yinli: fixed electronic revision
Electronic text prepared by Wikisource contributors. Jicheng facsimile-page history、Yanyi juan 1 history and Electronic-text license.